Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 114.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.001101/0.001101, 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1965/0.1965, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3657, allocations: 60.81 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002885/0.3686, allocations: 1.907 MB / 0.5209 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.3701, allocations: 0.9875 MB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3702, allocations: 6.406 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.3707, allocations: 153.8 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.3711, allocations: 136.3 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.3715, allocations: 184 kB / 0.5223 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.3718, allocations: 225.2 kB / 0.5225 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3719, allocations: 31.2 kB / 0.5225 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.3721, allocations: 101.2 kB / 0.5226 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.3723, allocations: 131.8 kB / 0.5227 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3723, allocations: 7.062 kB / 0.5228 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3725, allocations: 66.28 kB / 0.5228 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.3726, allocations: 50.55 kB / 0.5229 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.188e-05/0.3727, allocations: 88.42 kB / 0.5229 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.373, allocations: 208.6 kB / 0.5231 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.373, allocations: 0 / 0.5231 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.373, allocations: 0 / 0.5231 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.373, allocations: 0 / 0.5231 GB, free: 1.066 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006078/0.3737, allocations: 0.5352 MB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3737, allocations: 10.56 kB / 0.5237 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.3738, allocations: 28.02 kB / 0.5237 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3741, allocations: 275.6 kB / 0.524 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3741, allocations: 7.594 kB / 0.524 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.3741, allocations: 15.27 kB / 0.524 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.3744, allocations: 101.8 kB / 0.5241 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3744, allocations: 9.312 kB / 0.5241 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3744, allocations: 2.047 kB / 0.5241 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3744, allocations: 1.312 kB / 0.5241 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3745, allocations: 46.2 kB / 0.5241 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.3751, allocations: 463.7 kB / 0.5246 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.3755, allocations: 124.3 kB / 0.5247 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.3756, allocations: 50.31 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3756, allocations: 1.891 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.3758, allocations: 112.1 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3758, allocations: 1.438 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001253/0.3771, allocations: 0.494 MB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.3772, allocations: 80.62 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.3776, allocations: 349.3 kB / 0.5258 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.3776, allocations: 33.2 kB / 0.5258 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.3777, allocations: 146.2 kB / 0.5259 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.3778, allocations: 73.05 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.3779, allocations: 48.03 kB / 0.526 GB, free: 14.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.378, allocations: 340.6 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3781, allocations: 52.72 kB / 0.5264 GB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3783, allocations: 100.8 kB / 0.5265 GB, free: 14.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.3785, allocations: 163.8 kB / 0.5267 GB, free: 14.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3785, allocations: 0 / 0.5267 GB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003693/0.3789, allocations: 234 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.379, allocations: 12.12 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.379, allocations: 2.094 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.379, allocations: 1.344 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3791, allocations: 44.45 kB / 0.5269 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3792, allocations: 6.172 kB / 0.527 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.3793, allocations: 14.02 kB / 0.527 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3793, allocations: 10.47 kB / 0.527 GB, free: 14.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001577/0.3794, allocations: 153 kB / 0.5271 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.3795, allocations: 33.84 kB / 0.5272 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.3796, allocations: 34.66 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3796, allocations: 2.438 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.3796, allocations: 1.844 kB / 0.5272 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3796, allocations: 6.172 kB / 0.5272 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.3805, allocations: 0.7176 MB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3805, allocations: 1.188 kB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.143e-05/0.3806, allocations: 28 kB / 0.5279 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3806, allocations: 2.344 kB / 0.5279 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3806, allocations: 17.08 kB / 0.5279 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3806, allocations: 5.469 kB / 0.528 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3806, allocations: 2.75 kB / 0.528 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.3811, allocations: 427.1 kB / 0.5284 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.3811, allocations: 96.28 kB / 0.5285 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.3812, allocations: 9 kB / 0.5285 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3813, allocations: 12.52 kB / 0.5285 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.3814, allocations: 15.92 kB / 0.5285 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3814, allocations: 17.3 kB / 0.5285 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.3817, allocations: 257.2 kB / 0.5288 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3817, allocations: 4 kB / 0.5288 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.382, allocations: 55.22 kB / 0.5288 GB, free: 12.83 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001122/0.3831, allocations: 0.5074 MB / 0.5293 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.3835, allocations: 166.9 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3835, allocations: 1.094 kB / 0.5295 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3837, allocations: 86.41 kB / 0.5295 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.3842, allocations: 60.02 kB / 0.5296 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.385, allocations: 489.4 kB / 0.5301 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3853, allocations: 0.769 MB / 0.5308 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3854, allocations: 36.12 kB / 0.5309 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.3855, allocations: 34.3 kB / 0.5309 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3855, allocations: 0 / 0.5309 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Templates: time 0.006451/0.392, allocations: 3.101 MB / 0.5339 GB, free: 9.793 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches