Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001888/0.001888, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001935/0.001935, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.447/1.447, 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.2529/0.2529, allocations: 44.95 MB / 358.8 MB, free: 6.176 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [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.003021/0.003021, allocations: 63.91 kB / 0.4936 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3706, allocations: 65.48 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003536/0.3741, allocations: 1.894 MB / 0.5594 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.3762, allocations: 1.01 MB / 0.5603 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.3763, allocations: 7.938 kB / 0.5604 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.3766, allocations: 43.7 kB / 0.5604 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.3769, allocations: 99.53 kB / 0.5605 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.3772, allocations: 95.66 kB / 0.5606 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.3774, allocations: 155.5 kB / 0.5607 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3775, allocations: 20.41 kB / 0.5607 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3776, allocations: 63.72 kB / 0.5608 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3778, allocations: 47.7 kB / 0.5609 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3778, allocations: 4 kB / 0.5609 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3779, allocations: 47.98 kB / 0.5609 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.378, allocations: 27.92 kB / 0.5609 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.378, allocations: 47.66 kB / 0.561 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3783, allocations: 151 kB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3783, allocations: 0 / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3783, allocations: 0 / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3783, allocations: 0 / 0.5611 GB, free: 3.754 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007092/0.379, allocations: 421.1 kB / 0.5615 GB, free: 3.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3791, allocations: 11.97 kB / 0.5615 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.3791, allocations: 16.84 kB / 0.5615 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.3794, allocations: 174.9 kB / 0.5617 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3795, allocations: 4.375 kB / 0.5617 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.3795, allocations: 12.12 kB / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3798, allocations: 129.9 kB / 0.5619 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3798, allocations: 3.938 kB / 0.5619 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3798, allocations: 4 kB / 0.5619 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3798, allocations: 8 kB / 0.5619 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.38, allocations: 47.95 kB / 0.5619 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.3805, allocations: 448.7 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3809, allocations: 82.66 kB / 0.5624 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.381, allocations: 40.83 kB / 0.5625 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.381, allocations: 7.875 kB / 0.5625 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.3812, allocations: 113.1 kB / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3812, allocations: 0 / 0.5626 GB, free: 2.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004168/0.3816, allocations: 145.5 kB / 0.5627 GB, free: 1.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.3817, allocations: 51.41 kB / 0.5628 GB, free: 1.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.3819, allocations: 215 kB / 0.563 GB, free: 1.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3819, allocations: 29.7 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.382, allocations: 116.1 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.382, allocations: 31.73 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.3821, allocations: 29.72 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3822, allocations: 326.8 kB / 0.5635 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.3823, allocations: 31.98 kB / 0.5635 GB, free: 1.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3825, allocations: 68.2 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.3827, allocations: 96.2 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3827, allocations: 4 kB / 0.5637 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002889/0.383, allocations: 137.8 kB / 0.5638 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.383, allocations: 8.094 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.383, allocations: 3.938 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.383, allocations: 4 kB / 0.5638 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3831, allocations: 27.91 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3831, allocations: 7.938 kB / 0.5639 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.3832, allocations: 16.02 kB / 0.5639 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3832, allocations: 11.98 kB / 0.5639 GB, free: 0.6875 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001221/0.3833, allocations: 129.8 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.3834, allocations: 15.91 kB / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.3837, allocations: 135 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.3837, allocations: 4 kB / 0.5642 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3837, allocations: 3.938 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3837, allocations: 0 / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.3839, allocations: 149.3 kB / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3839, allocations: 0 / 0.5643 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.3839, allocations: 23.92 kB / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3839, allocations: 0 / 0.5643 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.384, allocations: 4 kB / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.384, allocations: 0 / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.384, allocations: 0 / 0.5643 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.3844, allocations: 196.8 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.3844, allocations: 11.94 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3844, allocations: 4 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.3845, allocations: 12.05 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3845, allocations: 7.984 kB / 0.5645 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3846, allocations: 7.938 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3847, allocations: 147.2 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3847, allocations: 0 / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.385, allocations: 35.92 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001651/0.3866, allocations: 440 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.3869, allocations: 87.95 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3869, allocations: 0 / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.387, allocations: 36.17 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3874, allocations: 41.34 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.3881, allocations: 279.3 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.3882, allocations: 113.9 kB / 0.5657 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.892e-05/0.3883, allocations: 13.42 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.3883, allocations: 19.42 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3883, allocations: 0 / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Templates: time 0.006203/0.3945, allocations: 2.122 MB / 0.5678 GB, free: 12.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.394409915432334]