Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 216.3 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 44.95 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003059/0.003059, allocations: 67.91 kB / 0.4936 GB, free: 9.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3773, allocations: 65.47 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00365/0.381, allocations: 1.667 MB / 0.5591 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3827, allocations: 0.9481 MB / 0.5601 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.3828, allocations: 0 / 0.5601 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.3831, allocations: 67.72 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.3834, allocations: 107.5 kB / 0.5602 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.3836, allocations: 71.73 kB / 0.5603 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3838, allocations: 115.6 kB / 0.5604 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.3838, allocations: 4.234 kB / 0.5604 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.3839, allocations: 47.78 kB / 0.5605 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.384, allocations: 51.81 kB / 0.5605 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3841, allocations: 4 kB / 0.5605 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.3841, allocations: 24 kB / 0.5605 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.3842, allocations: 19.92 kB / 0.5606 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.3843, allocations: 35.72 kB / 0.5606 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.3845, allocations: 102 kB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3845, allocations: 4 kB / 0.5607 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3845, allocations: 0 / 0.5607 GB, free: 4.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3845, allocations: 0 / 0.5607 GB, free: 4.219 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005573/0.3851, allocations: 349.5 kB / 0.561 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3851, allocations: 8.031 kB / 0.561 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.3851, allocations: 16.84 kB / 0.561 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.3854, allocations: 139.1 kB / 0.5612 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.3855, allocations: 4.375 kB / 0.5612 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.3855, allocations: 4.125 kB / 0.5612 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.3856, allocations: 57.61 kB / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3856, allocations: 0 / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3856, allocations: 0 / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.3856, allocations: 0 / 0.5612 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.3857, allocations: 15.98 kB / 0.5613 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.3859, allocations: 137.3 kB / 0.5614 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.3861, allocations: 50.61 kB / 0.5614 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.3862, allocations: 20.84 kB / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3862, allocations: 0 / 0.5615 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.3863, allocations: 79.27 kB / 0.5615 GB, free: 3.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3863, allocations: 0 / 0.5615 GB, free: 3.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002684/0.3866, allocations: 93.62 kB / 0.5616 GB, free: 3.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3867, allocations: 59.39 kB / 0.5617 GB, free: 3.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.3869, allocations: 198.3 kB / 0.5619 GB, free: 2.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3869, allocations: 25.7 kB / 0.5619 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.387, allocations: 104.1 kB / 0.562 GB, free: 2.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.387, allocations: 15.88 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.387, allocations: 29.59 kB / 0.562 GB, free: 2.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3872, allocations: 322.8 kB / 0.5623 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.3873, allocations: 19.98 kB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.3873, allocations: 25.7 kB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.3874, allocations: 41.72 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3874, allocations: 4 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.3876, allocations: 93.45 kB / 0.5625 GB, free: 2.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3876, allocations: 6.188 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3876, allocations: 4 kB / 0.5625 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3877, allocations: 3.938 kB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.3877, allocations: 11.98 kB / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.3877, allocations: 0 / 0.5625 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.3878, allocations: 11.94 kB / 0.5626 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3878, allocations: 0 / 0.5626 GB, free: 2.125 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.0001144/0.3879, allocations: 133.8 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3879, allocations: 11.89 kB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.3882, allocations: 94.77 kB / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3882, allocations: 384 / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3882, allocations: 0 / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3882, allocations: 0 / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3883, allocations: 137.2 kB / 0.5629 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3883, allocations: 3.984 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.3883, allocations: 8 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3883, allocations: 3.938 kB / 0.5629 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3884, allocations: 8 kB / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3884, allocations: 0 / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3884, allocations: 0 / 0.5629 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3886, allocations: 117 kB / 0.5631 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.3886, allocations: 15.84 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.3887, allocations: 3.984 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.527e-05/0.3887, allocations: 0 / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.3887, allocations: 8 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3887, allocations: 7.984 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3889, allocations: 148.2 kB / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3889, allocations: 0 / 0.5632 GB, free: 1.363 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.3891, allocations: 23.98 kB / 0.5633 GB, free: 1.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.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001619/0.3907, allocations: 453.1 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.3909, allocations: 43.92 kB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3909, allocations: 0 / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.391, allocations: 19.98 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.3912, allocations: 23.98 kB / 0.5638 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.3917, allocations: 217.9 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.3918, allocations: 89.31 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.3919, allocations: 20.33 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.3919, allocations: 15.44 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3919, allocations: 0 / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Templates: time 0.005225/0.3972, allocations: 1.678 MB / 0.5657 GB, free: 14.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.300588324666023]