Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 112.8 kB / 17.74 MB, free: 5.43 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.001209/0.001208, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.311/1.311, 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.2033/0.2033, allocations: 44.2 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3701, allocations: 60.82 MB / 0.5189 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00252/0.3727, allocations: 1.653 MB / 0.5205 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006002/0.3733, allocations: 417.4 kB / 0.5209 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.3733, allocations: 1.406 kB / 0.5209 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.3735, allocations: 46.98 kB / 0.5209 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.3737, allocations: 56.92 kB / 0.521 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.374, allocations: 137.2 kB / 0.5211 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3742, allocations: 70.25 kB / 0.5212 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.3743, allocations: 23.73 kB / 0.5212 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.3743, allocations: 25.7 kB / 0.5212 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.3744, allocations: 49.33 kB / 0.5213 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3745, allocations: 15.28 kB / 0.5213 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.3746, allocations: 48.97 kB / 0.5213 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.3746, allocations: 19.8 kB / 0.5213 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.3747, allocations: 30.09 kB / 0.5214 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3749, allocations: 99.8 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3749, allocations: 0 / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3749, allocations: 0 / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3749, allocations: 0 / 0.5215 GB, free: 1.754 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004717/0.3754, allocations: 407.5 kB / 0.5219 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3754, allocations: 14.59 kB / 0.5219 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3755, allocations: 8.469 kB / 0.5219 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3756, allocations: 188.1 kB / 0.5221 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3756, allocations: 1.625 kB / 0.5221 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.3757, allocations: 7.375 kB / 0.5221 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3759, allocations: 67.62 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3759, allocations: 1.703 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3759, allocations: 0 / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3759, allocations: 1.062 kB / 0.5221 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.3761, allocations: 44.41 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.3765, allocations: 296.3 kB / 0.5225 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.3768, allocations: 58.72 kB / 0.5225 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.3769, allocations: 23.56 kB / 0.5225 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3769, allocations: 6.219 kB / 0.5225 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.3769, allocations: 36.03 kB / 0.5226 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.377, allocations: 0 / 0.5226 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001744/0.3787, allocations: 393.6 kB / 0.523 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3788, allocations: 61.45 kB / 0.523 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3789, allocations: 163.6 kB / 0.5232 GB, free: 392 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.379, allocations: 25.7 kB / 0.5232 GB, free: 360 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.379, allocations: 99.66 kB / 0.5233 GB, free: 264 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.3791, allocations: 35.17 kB / 0.5233 GB, free: 236 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.3791, allocations: 22.73 kB / 0.5233 GB, free: 216 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3792, allocations: 320.8 kB / 0.5237 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3794, allocations: 47.88 kB / 0.5237 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3796, allocations: 40.17 kB / 0.5237 GB, free: 15.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.3799, allocations: 101.8 kB / 0.5238 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.38, allocations: 0 / 0.5238 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004215/0.3804, allocations: 146 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3804, allocations: 6.641 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3804, allocations: 0 / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3805, allocations: 0 / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3806, allocations: 30.48 kB / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3806, allocations: 0 / 0.524 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.463e-05/0.3807, allocations: 13.66 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3808, allocations: 6.703 kB / 0.524 GB, free: 15.75 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001292/0.3809, allocations: 127.6 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.3809, allocations: 13.36 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005114/0.3815, allocations: 159.6 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.3815, allocations: 5.031 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3815, allocations: 1.156 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3815, allocations: 0.7031 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000871/0.3824, allocations: 471.4 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3824, allocations: 1.188 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.3825, allocations: 26 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3826, allocations: 1.219 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3826, allocations: 5.859 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3826, allocations: 5.469 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3826, allocations: 1.938 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3831, allocations: 259.9 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.3831, allocations: 89.47 kB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3831, allocations: 5.797 kB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3833, allocations: 9.906 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.3834, allocations: 11.97 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3834, allocations: 3.828 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.3835, allocations: 127 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3835, allocations: 0 / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.3839, allocations: 25.84 kB / 0.5253 GB, free: 14.74 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001287/0.3852, allocations: 448.2 kB / 0.5257 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.3857, allocations: 119.4 kB / 0.5259 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3857, allocations: 0.9062 kB / 0.5259 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.3859, allocations: 59.8 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3864, allocations: 21.25 kB / 0.5259 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.387, allocations: 254.8 kB / 0.5262 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3874, allocations: 0.7101 MB / 0.5269 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.3875, allocations: 15.62 kB / 0.5269 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.772e-05/0.3875, allocations: 18.97 kB / 0.5269 GB, free: 13.56 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3876, allocations: 0 / 0.5269 GB, free: 13.56 MB / 398.1 MB Notification: Performance of Templates: time 0.005446/0.393, allocations: 1.526 MB / 0.5284 GB, free: 13.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches