Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 107.1 kB / 17.77 MB, free: 5.27 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.001936/0.001937, allocations: 184.8 kB / 18.71 MB, free: 4.348 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.553/1.553, 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.2767/0.2767, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4544, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003375/0.4579, allocations: 1.715 MB / 0.5207 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.4603, allocations: 1.48 MB / 0.5221 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.4604, allocations: 4.906 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.4607, allocations: 32.58 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.461, allocations: 63.16 kB / 0.5222 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.4614, allocations: 114.2 kB / 0.5223 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.4616, allocations: 96.38 kB / 0.5224 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4617, allocations: 7.781 kB / 0.5224 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4619, allocations: 47.22 kB / 0.5225 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.462, allocations: 38.88 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.4621, allocations: 4.406 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.4622, allocations: 58.08 kB / 0.5225 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.45e-05/0.4623, allocations: 16 kB / 0.5226 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.4624, allocations: 41.92 kB / 0.5226 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.4627, allocations: 120.7 kB / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4627, allocations: 1.094 kB / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4627, allocations: 0 / 0.5227 GB, free: 1.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.4627, allocations: 0 / 0.5227 GB, free: 1.086 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005904/0.4633, allocations: 400 kB / 0.5231 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4633, allocations: 9.391 kB / 0.5231 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.4634, allocations: 9.406 kB / 0.5231 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.4637, allocations: 209.1 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4637, allocations: 5.312 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.4638, allocations: 6.938 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.464, allocations: 66.5 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.464, allocations: 1.25 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.464, allocations: 4.641 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.464, allocations: 1.125 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.973e-05/0.4641, allocations: 21.95 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.4645, allocations: 284.6 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4646, allocations: 59.73 kB / 0.5237 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.4647, allocations: 19.8 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4647, allocations: 2.188 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.4649, allocations: 68.77 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.4649, allocations: 1.469 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006833/0.4656, allocations: 168 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.4657, allocations: 81.77 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.4659, allocations: 153.9 kB / 0.5242 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.4659, allocations: 27.52 kB / 0.5242 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.466, allocations: 93.45 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.466, allocations: 34.45 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.4661, allocations: 25.64 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4663, allocations: 328.9 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.4664, allocations: 17.58 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.902e-05/0.4665, allocations: 45.45 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.4667, allocations: 59.2 kB / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4667, allocations: 0 / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002047/0.4669, allocations: 103.2 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4669, allocations: 5.438 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4669, allocations: 5.734 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.4669, allocations: 2.344 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4671, allocations: 17.95 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.4671, allocations: 1.594 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.4671, allocations: 12.19 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.4671, allocations: 1.5 kB / 0.525 GB, free: 15.05 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 (10): * Single equations (assignments): 10 * 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.0001281/0.4673, allocations: 127 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4673, allocations: 9.047 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.4674, allocations: 13.42 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4674, allocations: 1.312 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4674, allocations: 0 / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.4674, allocations: 6.109 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.4679, allocations: 392 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4679, allocations: 0 / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.468, allocations: 12.78 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.468, allocations: 1.469 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.468, allocations: 6.953 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.468, allocations: 1.781 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.468, allocations: 0 / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.4683, allocations: 204.2 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.4684, allocations: 85.73 kB / 0.5258 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.4684, allocations: 6.422 kB / 0.5258 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.282e-05/0.4685, allocations: 3.031 kB / 0.5258 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.4686, allocations: 6.062 kB / 0.5258 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4686, allocations: 6.094 kB / 0.5258 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.4688, allocations: 116.4 kB / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4688, allocations: 0 / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.4691, allocations: 30.52 kB / 0.526 GB, free: 14.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001536/0.4706, allocations: 0.5115 MB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.4709, allocations: 64.39 kB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4709, allocations: 0 / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.471, allocations: 32.72 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.4715, allocations: 27.83 kB / 0.5266 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/0.4721, allocations: 197.9 kB / 0.5268 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.4726, allocations: 0.6964 MB / 0.5274 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.67e-05/0.4727, allocations: 18 kB / 0.5275 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.4728, allocations: 18.36 kB / 0.5275 GB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4728, allocations: 1 kB / 0.5275 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Templates: time 0.006636/0.4795, allocations: 1.961 MB / 0.5294 GB, free: 12.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches