Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.002232/0.002232, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002586/0.002586, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.791/1.791, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2559/0.2559, allocations: 46.95 MB / 360.8 MB, free: 4.371 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 63.89 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 66.03 MB / 0.5612 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00347/0.3721, allocations: 1.753 MB / 0.5629 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3739, allocations: 1.042 MB / 0.5639 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.374, allocations: 7.938 kB / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.3744, allocations: 87.62 kB / 0.564 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.3747, allocations: 119.6 kB / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.375, allocations: 79.67 kB / 0.5642 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.3752, allocations: 111.7 kB / 0.5643 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3753, allocations: 8 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.3754, allocations: 63.64 kB / 0.5644 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3756, allocations: 63.8 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3756, allocations: 4 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3757, allocations: 43.98 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.04e-05/0.3757, allocations: 23.92 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.3758, allocations: 39.69 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3761, allocations: 133.8 kB / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3761, allocations: 0 / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3761, allocations: 0 / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3761, allocations: 0 / 0.5647 GB, free: 0.8594 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.0006686/0.3768, allocations: 357.5 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3768, allocations: 8.031 kB / 0.565 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.3768, allocations: 12.84 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3772, allocations: 162.8 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.3772, allocations: 384 / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.3772, allocations: 8.125 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3774, allocations: 57.61 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3774, allocations: 0 / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3774, allocations: 3.984 kB / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3774, allocations: 0 / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.3775, allocations: 19.98 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.378, allocations: 275.9 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3782, allocations: 50.62 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.3783, allocations: 20.84 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3783, allocations: 0 / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.3785, allocations: 67.39 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.3785, allocations: 4 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.379, allocations: 181.3 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3791, allocations: 55.41 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3793, allocations: 223.5 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3793, allocations: 25.7 kB / 0.5661 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.3794, allocations: 108.1 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3794, allocations: 27.73 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.3795, allocations: 25.7 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3796, allocations: 334.7 kB / 0.5666 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.3797, allocations: 19.98 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.3798, allocations: 41.64 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3799, allocations: 57.7 kB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3799, allocations: 0 / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.3801, allocations: 113.5 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3801, allocations: 4 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3801, allocations: 0 / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.839e-05/0.3802, allocations: 0 / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.3803, allocations: 16 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3803, allocations: 0 / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.3803, allocations: 11.92 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.3803, allocations: 160 / 0.5668 GB, free: 14.41 MB / 414.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.0001243/0.3805, allocations: 137.8 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3805, allocations: 23.92 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.3808, allocations: 115 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3808, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3808, allocations: 0 / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3808, allocations: 7.938 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.3813, allocations: 362.4 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3813, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.3814, allocations: 11.98 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3814, allocations: 4.031 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3814, allocations: 7.938 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3814, allocations: 0 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3814, allocations: 3.938 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.3816, allocations: 204.3 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.3817, allocations: 7.953 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.3817, allocations: 11.94 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.3818, allocations: 8.359 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3818, allocations: 4 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3818, allocations: 11.92 kB / 0.5677 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.382, allocations: 169.1 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.382, allocations: 0 / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3823, allocations: 27.89 kB / 0.5679 GB, free: 13.22 MB / 414.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.001839/0.3841, allocations: 478 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3843, allocations: 51.98 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3843, allocations: 0 / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.3844, allocations: 28.08 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3848, allocations: 43.25 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.3853, allocations: 243.3 kB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3857, allocations: 0.7119 MB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.3858, allocations: 20.97 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.3858, allocations: 15.44 kB / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3858, allocations: 0 / 0.5695 GB, free: 11.78 MB / 414.1 MB Notification: Performance of Templates: time 0.005168/0.391, allocations: 1.786 MB / 0.5712 GB, free: 10.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.6730446049477905]