Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 211.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2367/0.2367, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 67.89 kB / 0.4935 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4225, allocations: 65.46 MB / 0.5575 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.0034/0.4259, allocations: 1.649 MB / 0.5591 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.427, allocations: 0.5309 MB / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.4271, allocations: 0 / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.4277, allocations: 451.2 kB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.4283, allocations: 299.3 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.4287, allocations: 135.4 kB / 0.5604 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.4289, allocations: 167.6 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.429, allocations: 15.98 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.4291, allocations: 103.8 kB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.4294, allocations: 255.4 kB / 0.561 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4295, allocations: 4 kB / 0.561 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.361e-05/0.4295, allocations: 31.98 kB / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.4297, allocations: 87.67 kB / 0.5611 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.46e-05/0.4298, allocations: 67.25 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.4301, allocations: 273 kB / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4301, allocations: 0 / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4301, allocations: 0 / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.4302, allocations: 4 kB / 0.5614 GB, free: 3.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007518/0.4309, allocations: 0.5737 MB / 0.562 GB, free: 2.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.4309, allocations: 8.031 kB / 0.562 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.431, allocations: 44.66 kB / 0.562 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4313, allocations: 242.8 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4313, allocations: 384 / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4314, allocations: 8.375 kB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4315, allocations: 53.8 kB / 0.5623 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4315, allocations: 3.938 kB / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4315, allocations: 0 / 0.5623 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4316, allocations: 4 kB / 0.5623 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.927e-05/0.4317, allocations: 27.98 kB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.4321, allocations: 332.2 kB / 0.5627 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.4323, allocations: 46.48 kB / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.4324, allocations: 16.86 kB / 0.5627 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.4324, allocations: 4.078 kB / 0.5627 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4324, allocations: 30.56 kB / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4324, allocations: 0 / 0.5627 GB, free: 1.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006245/0.433, allocations: 232.7 kB / 0.563 GB, free: 1.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4331, allocations: 51.41 kB / 0.563 GB, free: 1.531 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/0.434, allocations: 0.8652 MB / 0.5639 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.434, allocations: 25.7 kB / 0.5639 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.4342, allocations: 216 kB / 0.5641 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.4342, allocations: 11.89 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.4343, allocations: 21.66 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4344, allocations: 362.7 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.4345, allocations: 20.14 kB / 0.5645 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.4346, allocations: 24.05 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4347, allocations: 48.83 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4347, allocations: 3.938 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002206/0.4349, allocations: 117.3 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.435, allocations: 4 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.435, allocations: 7.984 kB / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.435, allocations: 0 / 0.5647 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.435, allocations: 12 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.435, allocations: 0 / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.4351, allocations: 7.984 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4351, allocations: 0 / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.4353, allocations: 213.7 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.4354, allocations: 43.72 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4357, allocations: 145.1 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4357, allocations: 0 / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4357, allocations: 4 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4357, allocations: 0 / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.4362, allocations: 401.9 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4362, allocations: 4 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.4363, allocations: 12.3 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4363, allocations: 0 / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4363, allocations: 3.938 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4363, allocations: 12 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4363, allocations: 3.938 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.4365, allocations: 211.2 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.4366, allocations: 35.7 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.4366, allocations: 0 / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.4367, allocations: 4 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.4367, allocations: 11.92 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4368, allocations: 0 / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006702/0.4374, allocations: 0.6511 MB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4374, allocations: 7.938 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.4377, allocations: 23.94 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.4393, allocations: 427 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.4395, allocations: 43.97 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.4395, allocations: 4 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.4396, allocations: 27.91 kB / 0.5669 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.44, allocations: 21.97 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.4412, allocations: 0.8101 MB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.4414, allocations: 223.3 kB / 0.5679 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.795e-05/0.4415, allocations: 11.77 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.4415, allocations: 11.44 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4415, allocations: 0 / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of Templates: time 0.005584/0.4471, allocations: 1.665 MB / 0.5696 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.279681198298931]