Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.6 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 183.1 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.2 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4451, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003839/0.449, allocations: 1.971 MB / 0.5215 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.451, allocations: 1.029 MB / 0.5225 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.4512, allocations: 2.312 kB / 0.5225 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.4515, allocations: 44.12 kB / 0.5225 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.452, allocations: 143.8 kB / 0.5227 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.453, allocations: 421.4 kB / 0.5231 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.4534, allocations: 251.9 kB / 0.5233 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.4536, allocations: 65.44 kB / 0.5234 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.4538, allocations: 114.5 kB / 0.5235 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.4541, allocations: 182 kB / 0.5237 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.4541, allocations: 14.06 kB / 0.5237 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.4543, allocations: 55.11 kB / 0.5237 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.4545, allocations: 139.4 kB / 0.5239 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.4546, allocations: 150.7 kB / 0.524 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.4551, allocations: 367 kB / 0.5244 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4551, allocations: 1.281 kB / 0.5244 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4551, allocations: 0 / 0.5244 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.4552, allocations: 0 / 0.5244 GB, free: 0.9297 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008764/0.456, allocations: 0.7352 MB / 0.5251 GB, free: 336 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4561, allocations: 8.969 kB / 0.5251 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.337e-05/0.4562, allocations: 54.72 kB / 0.5251 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.4567, allocations: 437.4 kB / 0.5256 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4567, allocations: 7.969 kB / 0.5256 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.4568, allocations: 21.09 kB / 0.5256 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.4571, allocations: 125.2 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4571, allocations: 0 / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.4571, allocations: 7.953 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4571, allocations: 3.938 kB / 0.5257 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.4573, allocations: 73.3 kB / 0.5258 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.4584, allocations: 0.6567 MB / 0.5264 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.4586, allocations: 107.4 kB / 0.5265 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.4587, allocations: 41.44 kB / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4587, allocations: 7.406 kB / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4588, allocations: 40.53 kB / 0.5266 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.4588, allocations: 0 / 0.5266 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001501/0.4603, allocations: 0.4935 MB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4604, allocations: 82.42 kB / 0.5272 GB, free: 14.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4614, allocations: 0.8526 MB / 0.528 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.4614, allocations: 31.34 kB / 0.528 GB, free: 14.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.4617, allocations: 242 kB / 0.5283 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.4617, allocations: 52.17 kB / 0.5283 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.4618, allocations: 34.02 kB / 0.5284 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.462, allocations: 371.8 kB / 0.5287 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.4622, allocations: 53.62 kB / 0.5288 GB, free: 13.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.4623, allocations: 76.03 kB / 0.5288 GB, free: 13.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.4627, allocations: 134.6 kB / 0.529 GB, free: 13.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4627, allocations: 0 / 0.529 GB, free: 13.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004924/0.4632, allocations: 228.6 kB / 0.5292 GB, free: 13.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4632, allocations: 5.375 kB / 0.5292 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4633, allocations: 0 / 0.5292 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4633, allocations: 2.25 kB / 0.5292 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.4635, allocations: 39.94 kB / 0.5292 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4635, allocations: 1.062 kB / 0.5292 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.4637, allocations: 10.36 kB / 0.5292 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.4637, allocations: 12.31 kB / 0.5292 GB, free: 13.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002344/0.4639, allocations: 204.8 kB / 0.5294 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.464, allocations: 50.47 kB / 0.5295 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.4647, allocations: 257.7 kB / 0.5297 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.4647, allocations: 6.094 kB / 0.5297 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4647, allocations: 3.938 kB / 0.5297 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4647, allocations: 1.062 kB / 0.5297 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4658, allocations: 0.7582 MB / 0.5305 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4659, allocations: 9.219 kB / 0.5305 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.466, allocations: 42.89 kB / 0.5305 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.466, allocations: 1.25 kB / 0.5305 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.4661, allocations: 10.61 kB / 0.5305 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.4661, allocations: 8.812 kB / 0.5306 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4661, allocations: 1.344 kB / 0.5306 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.4667, allocations: 396.2 kB / 0.5309 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4668, allocations: 131.9 kB / 0.5311 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.4669, allocations: 5.125 kB / 0.5311 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4671, allocations: 13.7 kB / 0.5311 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.4671, allocations: 14.98 kB / 0.5311 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.4672, allocations: 4.562 kB / 0.5311 GB, free: 12.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007709/0.4679, allocations: 0.6219 MB / 0.5317 GB, free: 11.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4679, allocations: 0 / 0.5317 GB, free: 11.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.4683, allocations: 46.75 kB / 0.5317 GB, free: 11.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001001/0.4693, allocations: 408.7 kB / 0.5321 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.4698, allocations: 138.8 kB / 0.5323 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4698, allocations: 1.344 kB / 0.5323 GB, free: 11.58 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.47, allocations: 82.8 kB / 0.5324 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.4707, allocations: 85.48 kB / 0.5324 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.472, allocations: 0.8741 MB / 0.5333 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.4725, allocations: 0.8463 MB / 0.5341 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.4726, allocations: 36.64 kB / 0.5341 GB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4726, allocations: 0 / 0.5341 GB, free: 10.21 MB / 398.1 MB Notification: Performance of Templates: time 0.009125/0.4818, allocations: 5.366 MB / 0.5394 GB, free: 7.422 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches