Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.002179/0.002179, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.003086/0.003086, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2711/0.2711, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.89 kB / 0.4967 GB, free: 7.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 66.04 MB / 0.5612 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003394/0.3664, allocations: 1.729 MB / 0.5628 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3684, allocations: 0.9677 MB / 0.5638 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.447e-05/0.3685, allocations: 0 / 0.5638 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.3689, allocations: 107.7 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.3693, allocations: 135.5 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.3695, allocations: 79.67 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.3697, allocations: 123.7 kB / 0.5642 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3699, allocations: 15.97 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.37, allocations: 59.77 kB / 0.5643 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.3701, allocations: 75.67 kB / 0.5644 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3701, allocations: 4 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3703, allocations: 59.97 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3703, allocations: 31.86 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.3704, allocations: 31.73 kB / 0.5645 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3707, allocations: 157.7 kB / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3707, allocations: 0 / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3707, allocations: 0 / 0.5646 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3707, allocations: 0 / 0.5646 GB, free: 0.5586 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006432/0.3713, allocations: 385.2 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3714, allocations: 12.03 kB / 0.565 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.3714, allocations: 12.84 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.3717, allocations: 166.4 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3717, allocations: 384 / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.3718, allocations: 12.08 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3719, allocations: 65.66 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.372, allocations: 0 / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.372, allocations: 4 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.372, allocations: 0 / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.121e-05/0.3721, allocations: 27.92 kB / 0.5653 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.3725, allocations: 252.5 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.3727, allocations: 62.48 kB / 0.5656 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.3728, allocations: 16.98 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3728, allocations: 11.92 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.373, allocations: 71.39 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.373, allocations: 0 / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008809/0.3739, allocations: 257.7 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.3739, allocations: 55.41 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.3742, allocations: 250.7 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3743, allocations: 33.7 kB / 0.5663 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.3744, allocations: 108.1 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.3744, allocations: 39.69 kB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.3745, allocations: 25.72 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3747, allocations: 330.8 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.3747, allocations: 31.98 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3748, allocations: 49.64 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.375, allocations: 77.7 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.375, allocations: 3.938 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002547/0.3753, allocations: 133.5 kB / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3753, allocations: 4 kB / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3753, allocations: 0 / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3753, allocations: 8.031 kB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.3754, allocations: 19.98 kB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3754, allocations: 0 / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.3754, allocations: 7.938 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3755, allocations: 12 kB / 0.5671 GB, free: 13.87 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 (13): * Single equations (assignments): 13 * 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.0001414/0.3756, allocations: 140.7 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3756, allocations: 15.91 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.376, allocations: 158.9 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.376, allocations: 0 / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.376, allocations: 4 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.376, allocations: 3.938 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.3766, allocations: 403.7 kB / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3766, allocations: 0 / 0.5678 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.3767, allocations: 16 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3767, allocations: 11.88 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3767, allocations: 3.984 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3767, allocations: 4 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3767, allocations: 0 / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.377, allocations: 249.4 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.3771, allocations: 19.89 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.3771, allocations: 7.938 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-05/0.3772, allocations: 4 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.3772, allocations: 11.92 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3772, allocations: 4 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001979/0.3774, allocations: 200.2 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3774, allocations: 0 / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000295/0.3777, allocations: 27.94 kB / 0.5683 GB, free: 12.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00222/0.38, allocations: 0.5516 MB / 0.5688 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.3802, allocations: 75.91 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3802, allocations: 0 / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3803, allocations: 39.92 kB / 0.5689 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3807, allocations: 37.27 kB / 0.569 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/0.3813, allocations: 308.7 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3814, allocations: 113.2 kB / 0.5694 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.3815, allocations: 16.64 kB / 0.5694 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.3815, allocations: 15.44 kB / 0.5694 GB, free: 11.58 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3815, allocations: 0 / 0.5694 GB, free: 11.58 MB / 414.1 MB Notification: Performance of Templates: time 0.005985/0.3875, allocations: 2.218 MB / 0.5716 GB, free: 9.391 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.343517474830151]