Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001276, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.00121/0.00121, allocations: 185.1 kB / 19.38 MB, free: 3.684 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.332/1.332, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2226/0.2226, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.89 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3522, allocations: 60.81 MB / 0.5196 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003391/0.3557, allocations: 1.665 MB / 0.5213 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3571, allocations: 0.8627 MB / 0.5221 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3573, allocations: 0 / 0.5221 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.3577, allocations: 81 kB / 0.5222 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.358, allocations: 75.33 kB / 0.5223 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3584, allocations: 107.7 kB / 0.5224 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.3587, allocations: 98.97 kB / 0.5224 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.3587, allocations: 8.344 kB / 0.5225 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3589, allocations: 54.97 kB / 0.5225 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.359, allocations: 50.16 kB / 0.5226 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.3591, allocations: 3.469 kB / 0.5226 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3592, allocations: 34.23 kB / 0.5226 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3593, allocations: 20.62 kB / 0.5226 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3593, allocations: 28.47 kB / 0.5226 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3595, allocations: 108.1 kB / 0.5227 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3596, allocations: 1.281 kB / 0.5227 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3596, allocations: 4.797 kB / 0.5227 GB, free: 1.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3596, allocations: 0 / 0.5227 GB, free: 1.867 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.0004933/0.3601, allocations: 402.3 kB / 0.5231 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3601, allocations: 10.75 kB / 0.5231 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3602, allocations: 13.31 kB / 0.5232 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3605, allocations: 210.7 kB / 0.5234 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3605, allocations: 1.562 kB / 0.5234 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3605, allocations: 6.766 kB / 0.5234 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3606, allocations: 54.42 kB / 0.5234 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3607, allocations: 0 / 0.5234 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3607, allocations: 5.891 kB / 0.5234 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3607, allocations: 0 / 0.5234 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.3608, allocations: 11.83 kB / 0.5234 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.3609, allocations: 192 kB / 0.5236 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.3611, allocations: 52.91 kB / 0.5237 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.3612, allocations: 27.62 kB / 0.5237 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3612, allocations: 1.812 kB / 0.5237 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.3613, allocations: 67.86 kB / 0.5238 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.3613, allocations: 5.281 kB / 0.5238 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002834/0.3616, allocations: 99.5 kB / 0.5239 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.3617, allocations: 53.36 kB / 0.5239 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3619, allocations: 214.1 kB / 0.5241 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.3619, allocations: 25.7 kB / 0.5241 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.3619, allocations: 105.5 kB / 0.5242 GB, free: 488 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.362, allocations: 11.94 kB / 0.5242 GB, free: 480 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.362, allocations: 19.14 kB / 0.5243 GB, free: 460 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.3621, allocations: 326.6 kB / 0.5246 GB, free: 132 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.3621, allocations: 13.53 kB / 0.5246 GB, free: 128 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.3622, allocations: 30.88 kB / 0.5246 GB, free: 104 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-05/0.3623, allocations: 46.05 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3623, allocations: 1.094 kB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001495/0.3624, allocations: 80.89 kB / 0.5247 GB, free: 20 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3625, allocations: 4.281 kB / 0.5247 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3625, allocations: 1.656 kB / 0.5247 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3625, allocations: 1.188 kB / 0.5248 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.3626, allocations: 17.83 kB / 0.5248 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3626, allocations: 2.016 kB / 0.5248 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.3626, allocations: 2.906 kB / 0.5248 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3627, allocations: 2.25 kB / 0.5248 GB, free: 12 kB / 382.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.0001379/0.3628, allocations: 131.9 kB / 0.5249 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.3628, allocations: 13.83 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.3629, allocations: 19.62 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3629, allocations: 1.25 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3629, allocations: 0 / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3629, allocations: 5.906 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.3631, allocations: 191.3 kB / 0.5251 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3631, allocations: 0 / 0.5251 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.3631, allocations: 3.969 kB / 0.5251 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3631, allocations: 1.953 kB / 0.5251 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3631, allocations: 1.859 kB / 0.5251 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3631, allocations: 320 / 0.5251 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.3631, allocations: 5.094 kB / 0.5251 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.3634, allocations: 124.8 kB / 0.5253 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.3634, allocations: 92.39 kB / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3634, allocations: 1.156 kB / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.3635, allocations: 3.953 kB / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3635, allocations: 2.688 kB / 0.5253 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3635, allocations: 3.594 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3637, allocations: 160.4 kB / 0.5255 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3637, allocations: 0 / 0.5255 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.364, allocations: 21.16 kB / 0.5255 GB, free: 15.34 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.0009811/0.3649, allocations: 415.2 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.3651, allocations: 40.45 kB / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3651, allocations: 0 / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.558e-05/0.3652, allocations: 19.7 kB / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3655, allocations: 32.53 kB / 0.526 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.366, allocations: 245.3 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3663, allocations: 0.704 MB / 0.5269 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.3663, allocations: 15.05 kB / 0.5269 GB, free: 14.22 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3663, allocations: 0 / 0.5269 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Templates: time 0.004371/0.3707, allocations: 1.729 MB / 0.5286 GB, free: 13.63 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches