Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 112.8 kB / 17.78 MB, free: 5.285 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.001249/0.001249, allocations: 184.8 kB / 18.71 MB, free: 4.371 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.468/1.468, 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.2258/0.2258, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4692, allocations: 60.83 MB / 0.519 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003326/0.4726, allocations: 1.665 MB / 0.5206 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.4739, allocations: 0.8645 MB / 0.5214 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.474, allocations: 0 / 0.5214 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.4744, allocations: 58.58 kB / 0.5215 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.4747, allocations: 56.62 kB / 0.5216 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.475, allocations: 107.2 kB / 0.5217 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.4752, allocations: 88.64 kB / 0.5217 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.4753, allocations: 5.312 kB / 0.5217 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.4754, allocations: 45.08 kB / 0.5218 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.4754, allocations: 29.52 kB / 0.5218 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.4755, allocations: 3.125 kB / 0.5218 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.4756, allocations: 26.52 kB / 0.5218 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.4757, allocations: 34.83 kB / 0.5219 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.4757, allocations: 37.94 kB / 0.5219 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.476, allocations: 110.8 kB / 0.522 GB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.476, allocations: 1.766 kB / 0.522 GB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.476, allocations: 0 / 0.522 GB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.476, allocations: 0 / 0.522 GB, free: 1.84 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006663/0.4767, allocations: 437 kB / 0.5224 GB, free: 1.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.4768, allocations: 10.06 kB / 0.5224 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.4768, allocations: 14.95 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.4772, allocations: 213.4 kB / 0.5227 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4772, allocations: 2.125 kB / 0.5227 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.4772, allocations: 14.12 kB / 0.5227 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4774, allocations: 45.77 kB / 0.5227 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4774, allocations: 2.281 kB / 0.5227 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.4774, allocations: 0 / 0.5227 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.4774, allocations: 0 / 0.5227 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.4775, allocations: 19.97 kB / 0.5227 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.4777, allocations: 185.6 kB / 0.5229 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4779, allocations: 57.17 kB / 0.523 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.478, allocations: 23.64 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.478, allocations: 1.125 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.4782, allocations: 68.16 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4782, allocations: 0 / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003228/0.4785, allocations: 98.25 kB / 0.5232 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.4786, allocations: 59.28 kB / 0.5232 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.4788, allocations: 259 kB / 0.5235 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.4788, allocations: 25.7 kB / 0.5235 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.4789, allocations: 111.2 kB / 0.5236 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.4789, allocations: 15.66 kB / 0.5236 GB, free: 416 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.479, allocations: 25.02 kB / 0.5236 GB, free: 392 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.4791, allocations: 328.3 kB / 0.5239 GB, free: 64 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/0.4791, allocations: 13.41 kB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.4792, allocations: 30.55 kB / 0.524 GB, free: 36 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.4793, allocations: 45.67 kB / 0.524 GB, free: 4 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4793, allocations: 0 / 0.524 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001996/0.4795, allocations: 90.17 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4795, allocations: 5.531 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4795, allocations: 1.984 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4796, allocations: 320 / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.4797, allocations: 14.86 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.4797, allocations: 1.688 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.4797, allocations: 10.7 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.4798, allocations: 2.344 kB / 0.5242 GB, free: 15.93 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001342/0.4799, allocations: 145.3 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.4799, allocations: 13.44 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.463e-05/0.48, allocations: 18.89 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.48, allocations: 1.266 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.48, allocations: 0 / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.48, allocations: 1.562 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.4802, allocations: 197 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4802, allocations: 1.094 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.131e-05/0.4803, allocations: 4.703 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4803, allocations: 4 kB / 0.5245 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.4803, allocations: 0.6562 kB / 0.5245 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4803, allocations: 1.219 kB / 0.5245 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4803, allocations: 1.031 kB / 0.5245 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.4805, allocations: 117.4 kB / 0.5246 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.4806, allocations: 89.14 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.4806, allocations: 1.812 kB / 0.5247 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.299e-05/0.4807, allocations: 7.734 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4807, allocations: 6.359 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.4807, allocations: 3.25 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.481, allocations: 200.9 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.481, allocations: 0 / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.4812, allocations: 18.17 kB / 0.525 GB, free: 15.25 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001246/0.4825, allocations: 414.4 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.4827, allocations: 48 kB / 0.5254 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4827, allocations: 0 / 0.5254 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.4828, allocations: 18.7 kB / 0.5254 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4831, allocations: 33.48 kB / 0.5254 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.4838, allocations: 250.5 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.4842, allocations: 0.7188 MB / 0.5264 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.4843, allocations: 17.31 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.4844, allocations: 14.5 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4844, allocations: 0 / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Templates: time 0.005304/0.4897, allocations: 1.514 MB / 0.5279 GB, free: 13.67 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches