Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001212, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 200.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 80.06 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3566, allocations: 62.42 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003553/0.3601, allocations: 1.735 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3621, allocations: 1.02 MB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3622, allocations: 5.781 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3625, allocations: 47.19 kB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.363, allocations: 97.41 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.3633, allocations: 82.38 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.3636, allocations: 102.2 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3637, allocations: 18.56 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3638, allocations: 48.27 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.3639, allocations: 30.8 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.364, allocations: 2.75 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3641, allocations: 40.86 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.3642, allocations: 24.16 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.3642, allocations: 45.3 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3645, allocations: 120.9 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3645, allocations: 5.312 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.3645, allocations: 4 kB / 0.5351 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3646, allocations: 3.938 kB / 0.5351 GB, free: 11.02 MB / 398.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.0006572/0.3652, allocations: 429.6 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3653, allocations: 9.625 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.3653, allocations: 11.72 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.3657, allocations: 218.1 kB / 0.5357 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3657, allocations: 5.734 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.3657, allocations: 14.86 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.3659, allocations: 54.05 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3659, allocations: 3.938 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3659, allocations: 5.375 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.366, allocations: 0 / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.916e-05/0.366, allocations: 18.98 kB / 0.5358 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.3665, allocations: 289.5 kB / 0.5361 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.3667, allocations: 61.92 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3667, allocations: 21.64 kB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3668, allocations: 5.156 kB / 0.5362 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.3669, allocations: 72.34 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.3669, allocations: 0.9375 kB / 0.5362 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006017/0.3676, allocations: 179.2 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3676, allocations: 60.44 kB / 0.5365 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.3679, allocations: 236.2 kB / 0.5367 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.3679, allocations: 34.86 kB / 0.5367 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.368, allocations: 106.7 kB / 0.5368 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.368, allocations: 19.62 kB / 0.5369 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.3681, allocations: 23.89 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3682, allocations: 330.8 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.3683, allocations: 23.34 kB / 0.5372 GB, free: 8.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.3684, allocations: 36.02 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3685, allocations: 62.55 kB / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3685, allocations: 0 / 0.5373 GB, free: 8.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002431/0.3688, allocations: 108.4 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3688, allocations: 5.781 kB / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3688, allocations: 0 / 0.5374 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3688, allocations: 5.25 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.369, allocations: 13.16 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.369, allocations: 1.125 kB / 0.5374 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.42e-05/0.369, allocations: 14.17 kB / 0.5374 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3691, allocations: 3.5 kB / 0.5374 GB, free: 8.812 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.0001324/0.3692, allocations: 125.1 kB / 0.5376 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3692, allocations: 15.3 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.3693, allocations: 18.91 kB / 0.5376 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3693, allocations: 5.188 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3693, allocations: 1.156 kB / 0.5376 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3693, allocations: 3.938 kB / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.3698, allocations: 405.7 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3699, allocations: 0 / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.3699, allocations: 8.375 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3699, allocations: 1.312 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.3699, allocations: 9.141 kB / 0.538 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3699, allocations: 1.219 kB / 0.538 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3699, allocations: 4.031 kB / 0.538 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3702, allocations: 201.3 kB / 0.5382 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.3703, allocations: 88.89 kB / 0.5383 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3703, allocations: 9.562 kB / 0.5383 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.3704, allocations: 14.11 kB / 0.5383 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.3704, allocations: 15.41 kB / 0.5383 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.3705, allocations: 3.281 kB / 0.5383 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3706, allocations: 177.7 kB / 0.5385 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3706, allocations: 1.219 kB / 0.5385 GB, free: 7.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3709, allocations: 24.62 kB / 0.5385 GB, free: 7.824 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.001147/0.3721, allocations: 455.8 kB / 0.539 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.3723, allocations: 62.28 kB / 0.539 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3723, allocations: 0 / 0.539 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.3724, allocations: 25.3 kB / 0.5391 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3728, allocations: 36.36 kB / 0.5391 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.3734, allocations: 298.2 kB / 0.5394 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3737, allocations: 0.7132 MB / 0.5401 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.3738, allocations: 15.75 kB / 0.5401 GB, free: 6.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3738, allocations: 3.938 kB / 0.5401 GB, free: 6.578 MB / 398.1 MB Notification: Performance of Templates: time 0.004893/0.3787, allocations: 2.034 MB / 0.5421 GB, free: 5.527 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches