Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.002198/0.002198, 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.002645/0.002645, allocations: 215.7 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2694/0.2694, allocations: 46.93 MB / 360.8 MB, free: 4.246 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.89 kB / 0.4967 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.389, allocations: 66.03 MB / 0.5612 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003415/0.3924, allocations: 1.749 MB / 0.5629 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3944, allocations: 1.049 MB / 0.5639 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.191e-05/0.3945, allocations: 0 / 0.5639 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.3948, allocations: 39.77 kB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.3951, allocations: 99.53 kB / 0.5641 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.3953, allocations: 75.69 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.3955, allocations: 111.7 kB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3956, allocations: 4 kB / 0.5642 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3958, allocations: 47.78 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.3958, allocations: 39.78 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3959, allocations: 4 kB / 0.5643 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.396, allocations: 39.98 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.396, allocations: 19.86 kB / 0.5644 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.3961, allocations: 39.72 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3963, allocations: 125.9 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3963, allocations: 0 / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3963, allocations: 0 / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3963, allocations: 0 / 0.5645 GB, free: 0.918 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.0005915/0.3969, allocations: 337.6 kB / 0.5649 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.397, allocations: 12.03 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.397, allocations: 12.84 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.3973, allocations: 158.2 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3974, allocations: 384 / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.3974, allocations: 12.12 kB / 0.565 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.3976, allocations: 49.67 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3976, allocations: 0 / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3976, allocations: 4 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3976, allocations: 4 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.3977, allocations: 19.98 kB / 0.5651 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.3981, allocations: 256 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.3983, allocations: 58.61 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.3983, allocations: 16.86 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3984, allocations: 7.938 kB / 0.5654 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3986, allocations: 71.38 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3986, allocations: 0 / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005759/0.3992, allocations: 177.3 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.3993, allocations: 55.41 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.3995, allocations: 175.3 kB / 0.5659 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3995, allocations: 37.7 kB / 0.5659 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.3996, allocations: 104.1 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.3996, allocations: 19.86 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.3996, allocations: 25.64 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3998, allocations: 330.8 kB / 0.5664 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.3999, allocations: 16 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.3999, allocations: 33.7 kB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.4001, allocations: 69.69 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4001, allocations: 0 / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002124/0.4003, allocations: 101.5 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4003, allocations: 8 kB / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4003, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4003, allocations: 0 / 0.5666 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.4004, allocations: 12 kB / 0.5666 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4004, allocations: 8.094 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.814e-05/0.4005, allocations: 19.94 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4005, allocations: 4 kB / 0.5667 GB, free: 14.55 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.00014/0.4006, allocations: 121.8 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.4006, allocations: 7.953 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.4009, allocations: 122.9 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4009, allocations: 4 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4009, allocations: 0 / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4009, allocations: 3.938 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.4014, allocations: 366.4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4014, allocations: 4 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.4015, allocations: 7.938 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4015, allocations: 4 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.4015, allocations: 3.938 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4015, allocations: 384 / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4015, allocations: 4 kB / 0.5673 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.4018, allocations: 204.5 kB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.4018, allocations: 15.89 kB / 0.5675 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.4018, allocations: 15.88 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.4019, allocations: 0 / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.402, allocations: 11.92 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.402, allocations: 4 kB / 0.5675 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.4021, allocations: 138.1 kB / 0.5676 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4021, allocations: 4 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.4024, allocations: 23.98 kB / 0.5677 GB, free: 13.41 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.4043, allocations: 460.2 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.4045, allocations: 59.91 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4045, allocations: 0 / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.4045, allocations: 24.14 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.4049, allocations: 34.91 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.4054, allocations: 223.2 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.4058, allocations: 0.7042 MB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.4059, allocations: 12.97 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.4059, allocations: 15.44 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4059, allocations: 0 / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Templates: time 0.005422/0.4113, allocations: 1.777 MB / 0.5709 GB, free: 10.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.5021935370750725]