Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002101/0.002101, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2441/0.2441, allocations: 46.95 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.91 kB / 0.4967 GB, free: 7.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3658, allocations: 66.04 MB / 0.5612 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00424/0.37, allocations: 1.881 MB / 0.563 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3722, allocations: 1.072 MB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.3723, allocations: 4 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.3728, allocations: 163.5 kB / 0.5642 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.3733, allocations: 179.3 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.3736, allocations: 115.6 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.374, allocations: 251.3 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3741, allocations: 25.94 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.3743, allocations: 107.5 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.3745, allocations: 143.5 kB / 0.565 GB, free: 180 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3746, allocations: 11.94 kB / 0.565 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3747, allocations: 63.98 kB / 0.5651 GB, free: 104 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3748, allocations: 55.77 kB / 0.5651 GB, free: 48 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3749, allocations: 59.62 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.3753, allocations: 237.2 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3753, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3753, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.3753, allocations: 0 / 0.5654 GB, free: 15.76 MB / 414.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.0007888/0.3761, allocations: 484.5 kB / 0.5659 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3761, allocations: 12.03 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.3762, allocations: 28.75 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.3766, allocations: 218.5 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3766, allocations: 384 / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.3766, allocations: 16.12 kB / 0.5661 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.3769, allocations: 107.3 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3769, allocations: 0 / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3769, allocations: 8 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.3769, allocations: 3.984 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3771, allocations: 55.91 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.3777, allocations: 400.5 kB / 0.5667 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.3781, allocations: 121.2 kB / 0.5668 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3782, allocations: 45.81 kB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3783, allocations: 4 kB / 0.5668 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.3785, allocations: 129 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3785, allocations: 0 / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001422/0.38, allocations: 0.497 MB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.38, allocations: 85.09 kB / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.3805, allocations: 388.4 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3805, allocations: 29.7 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3806, allocations: 148.5 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.254e-05/0.3807, allocations: 75.38 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.558e-05/0.3808, allocations: 41.7 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.381, allocations: 346.8 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3812, allocations: 59.97 kB / 0.5686 GB, free: 12.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.3814, allocations: 103.3 kB / 0.5687 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3817, allocations: 159.3 kB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3818, allocations: 0 / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004546/0.3822, allocations: 237.6 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3822, allocations: 4.062 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3822, allocations: 7.938 kB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3822, allocations: 4 kB / 0.5691 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3824, allocations: 47.91 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3824, allocations: 4 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.448e-05/0.3825, allocations: 8 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3825, allocations: 8 kB / 0.5691 GB, free: 11.71 MB / 414.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.0001859/0.3827, allocations: 166.3 kB / 0.5693 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.3828, allocations: 27.81 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.3833, allocations: 284.2 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3833, allocations: 4 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3833, allocations: 0 / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3833, allocations: 4 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.3843, allocations: 0.6644 MB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3843, allocations: 3.938 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3844, allocations: 35.98 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3844, allocations: 0 / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3844, allocations: 8.125 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3845, allocations: 4 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3845, allocations: 4.125 kB / 0.5703 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.385, allocations: 447.3 kB / 0.5707 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3851, allocations: 23.84 kB / 0.5707 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.3851, allocations: 8 kB / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.3853, allocations: 12 kB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.3853, allocations: 27.84 kB / 0.5708 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3854, allocations: 11.98 kB / 0.5708 GB, free: 9.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003038/0.3857, allocations: 291 kB / 0.5711 GB, free: 9.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3857, allocations: 0 / 0.5711 GB, free: 9.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003817/0.3861, allocations: 59.88 kB / 0.5711 GB, free: 9.559 MB / 414.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 (24): * Single equations (assignments): 20 * 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.002222/0.3883, allocations: 0.5502 MB / 0.5717 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.3887, allocations: 155.8 kB / 0.5718 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3887, allocations: 0 / 0.5718 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.3889, allocations: 87.97 kB / 0.5719 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.3895, allocations: 67.42 kB / 0.572 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.3905, allocations: 0.508 MB / 0.5725 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.3906, allocations: 157.6 kB / 0.5726 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.3908, allocations: 37.91 kB / 0.5726 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.828e-05/0.3908, allocations: 35.42 kB / 0.5727 GB, free: 8.152 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3908, allocations: 0 / 0.5727 GB, free: 8.152 MB / 414.1 MB Notification: Performance of Templates: time 0.00859/0.3994, allocations: 3.479 MB / 0.5761 GB, free: 4.723 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.385064665228128]