Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001126/0.001126, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.315/1.315, allocations: 222.9 MB / 242.4 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.2041/0.2041, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3527, allocations: 60.82 MB / 0.5189 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004116/0.3568, allocations: 2.043 MB / 0.5209 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3588, allocations: 1.049 MB / 0.5219 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3589, allocations: 6.25 kB / 0.5219 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.3591, allocations: 44.17 kB / 0.522 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.3596, allocations: 151.7 kB / 0.5221 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009107/0.3605, allocations: 427.9 kB / 0.5225 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004478/0.3609, allocations: 279.8 kB / 0.5228 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.3612, allocations: 62.8 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.3614, allocations: 132.7 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.3618, allocations: 195.1 kB / 0.5232 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.3618, allocations: 14.41 kB / 0.5232 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.362, allocations: 52.84 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.3622, allocations: 145.8 kB / 0.5234 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3624, allocations: 161.4 kB / 0.5235 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.3629, allocations: 384.3 kB / 0.5239 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3629, allocations: 5.25 kB / 0.5239 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3629, allocations: 0.5156 kB / 0.5239 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3629, allocations: 0 / 0.5239 GB, free: 0.8047 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.0009676/0.3639, allocations: 0.7867 MB / 0.5247 GB, free: 168 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.364, allocations: 8.5 kB / 0.5247 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/0.3641, allocations: 57.77 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.3647, allocations: 447.5 kB / 0.5252 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3647, allocations: 8.844 kB / 0.5252 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3647, allocations: 19.5 kB / 0.5252 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.3651, allocations: 145.7 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3651, allocations: 1.062 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3652, allocations: 1.188 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3652, allocations: 2.953 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.3655, allocations: 100.7 kB / 0.5254 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009578/0.3665, allocations: 0.6679 MB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.3667, allocations: 122.4 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.3669, allocations: 58.59 kB / 0.5263 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.3669, allocations: 10.72 kB / 0.5263 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.367, allocations: 39.88 kB / 0.5263 GB, free: 15.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/0.367, allocations: 0 / 0.5263 GB, free: 15.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001851/0.3688, allocations: 0.6711 MB / 0.527 GB, free: 14.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.3689, allocations: 83.84 kB / 0.527 GB, free: 14.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009564/0.3699, allocations: 0.8436 MB / 0.5279 GB, free: 14.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3699, allocations: 30.86 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3701, allocations: 251.6 kB / 0.5281 GB, free: 13.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.3702, allocations: 71.44 kB / 0.5282 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.3703, allocations: 39.42 kB / 0.5282 GB, free: 13.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3705, allocations: 376.5 kB / 0.5286 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.3707, allocations: 96.72 kB / 0.5287 GB, free: 13.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.371, allocations: 107.8 kB / 0.5288 GB, free: 13.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.3715, allocations: 209.7 kB / 0.529 GB, free: 13.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3716, allocations: 0 / 0.529 GB, free: 13.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006995/0.3723, allocations: 299.3 kB / 0.5293 GB, free: 13.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3723, allocations: 5.469 kB / 0.5293 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3723, allocations: 3.984 kB / 0.5293 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3723, allocations: 2.188 kB / 0.5293 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.3726, allocations: 53.86 kB / 0.5293 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.3726, allocations: 1.031 kB / 0.5293 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.3728, allocations: 32.45 kB / 0.5294 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3729, allocations: 5.375 kB / 0.5294 GB, free: 13.06 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 (20): * Single equations (assignments): 20 * 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.0002799/0.3731, allocations: 213.3 kB / 0.5296 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.3733, allocations: 52.17 kB / 0.5296 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008891/0.3742, allocations: 350.5 kB / 0.53 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3742, allocations: 2.75 kB / 0.53 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3742, allocations: 1.562 kB / 0.53 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3742, allocations: 3.984 kB / 0.53 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.3758, allocations: 0.8671 MB / 0.5308 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3758, allocations: 1.406 kB / 0.5308 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.376, allocations: 49.39 kB / 0.5309 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3761, allocations: 5.75 kB / 0.5309 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3761, allocations: 10.8 kB / 0.5309 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3761, allocations: 5.031 kB / 0.5309 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3761, allocations: 1.156 kB / 0.5309 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.3769, allocations: 484.8 kB / 0.5314 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.377, allocations: 136.4 kB / 0.5315 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.3771, allocations: 2.562 kB / 0.5315 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.3773, allocations: 26.89 kB / 0.5315 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.66e-05/0.3774, allocations: 20.28 kB / 0.5315 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3775, allocations: 9.266 kB / 0.5315 GB, free: 11.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007382/0.3782, allocations: 0.6173 MB / 0.5321 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3782, allocations: 3.938 kB / 0.5321 GB, free: 11.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.3786, allocations: 54.91 kB / 0.5322 GB, free: 11.18 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 (20): * Single equations (assignments): 20 * 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.0009775/0.3796, allocations: 403.2 kB / 0.5326 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.3802, allocations: 225.5 kB / 0.5328 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3803, allocations: 0 / 0.5328 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.3806, allocations: 126.9 kB / 0.5329 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.3813, allocations: 86.47 kB / 0.533 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3828, allocations: 0.9286 MB / 0.5339 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3833, allocations: 0.8641 MB / 0.5348 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.3836, allocations: 81.69 kB / 0.5348 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3837, allocations: 35.98 kB / 0.5349 GB, free: 9.426 MB / 398.1 MB Notification: Performance of SimCode: time 2.194e-06/0.3837, allocations: 0 / 0.5349 GB, free: 9.426 MB / 398.1 MB Notification: Performance of Templates: time 0.01136/0.3951, allocations: 4.3 MB / 0.5391 GB, free: 7.324 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches