Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00174/0.00174, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002125/0.002125, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2351/0.2351, allocations: 46.88 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003245/0.003245, allocations: 83.86 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.339, allocations: 65.99 MB / 0.5613 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003587/0.3426, allocations: 1.943 MB / 0.5632 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3447, allocations: 1.154 MB / 0.5643 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.71e-05/0.3448, allocations: 7.875 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.3453, allocations: 243.4 kB / 0.5646 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.3458, allocations: 243.1 kB / 0.5648 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.3462, allocations: 115.6 kB / 0.5649 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.3465, allocations: 267.3 kB / 0.5652 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.3467, allocations: 24.42 kB / 0.5652 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.3469, allocations: 147.5 kB / 0.5653 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3472, allocations: 199.5 kB / 0.5655 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.3472, allocations: 8 kB / 0.5655 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3473, allocations: 63.98 kB / 0.5656 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.3474, allocations: 75.62 kB / 0.5657 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.3476, allocations: 87.3 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.3479, allocations: 258.7 kB / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3479, allocations: 0 / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3479, allocations: 0 / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3479, allocations: 0 / 0.566 GB, free: 184 kB / 398.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.0009115/0.3488, allocations: 0.5997 MB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3489, allocations: 8.922 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.349, allocations: 40.7 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.3494, allocations: 298.6 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3494, allocations: 4.375 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.3495, allocations: 12.31 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.3497, allocations: 113.7 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3498, allocations: 0 / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3498, allocations: 4 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3498, allocations: 4 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3499, allocations: 43.97 kB / 0.5671 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.3506, allocations: 492.7 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.351, allocations: 121.2 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3511, allocations: 37.83 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3511, allocations: 7.984 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.3513, allocations: 117 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.3513, allocations: 4 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001356/0.3527, allocations: 0.5132 MB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.3527, allocations: 85.09 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/0.3533, allocations: 493.7 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3533, allocations: 37.69 kB / 0.5689 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3535, allocations: 172.4 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.3536, allocations: 79.41 kB / 0.5692 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.3536, allocations: 37.72 kB / 0.5692 GB, free: 12.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3538, allocations: 346.8 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.3539, allocations: 59.97 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3541, allocations: 91.28 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3544, allocations: 163.3 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3544, allocations: 0 / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004308/0.3548, allocations: 249.4 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3548, allocations: 4 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3549, allocations: 4 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3549, allocations: 3.984 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.355, allocations: 47.98 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.355, allocations: 4.062 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.3551, allocations: 8 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3551, allocations: 11.98 kB / 0.5701 GB, free: 11.64 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.000193/0.3553, allocations: 173.8 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.3554, allocations: 39.7 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.3559, allocations: 260.4 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.3559, allocations: 8 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3559, allocations: 0 / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3559, allocations: 3.984 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.357, allocations: 0.7312 MB / 0.5713 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.357, allocations: 8.125 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.3571, allocations: 31.92 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3571, allocations: 0 / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3571, allocations: 12 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3571, allocations: 4 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3571, allocations: 3.938 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.3577, allocations: 429.2 kB / 0.5718 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3578, allocations: 108.9 kB / 0.5719 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.3578, allocations: 11.98 kB / 0.5719 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.358, allocations: 8 kB / 0.5719 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.358, allocations: 15.92 kB / 0.5719 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.358, allocations: 20.17 kB / 0.5719 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004067/0.3585, allocations: 379.1 kB / 0.5723 GB, free: 9.293 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3585, allocations: 3.938 kB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.3588, allocations: 43.94 kB / 0.5723 GB, free: 9.246 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 (22): * Single equations (assignments): 18 * 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.002014/0.3608, allocations: 0.5069 MB / 0.5728 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.3612, allocations: 151.9 kB / 0.573 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3612, allocations: 0 / 0.573 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3614, allocations: 75.83 kB / 0.5731 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.3619, allocations: 69.92 kB / 0.5731 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3629, allocations: 0.6135 MB / 0.5737 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.3634, allocations: 0.787 MB / 0.5745 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3635, allocations: 45.84 kB / 0.5745 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.3636, allocations: 27.42 kB / 0.5746 GB, free: 7.105 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3636, allocations: 0 / 0.5746 GB, free: 7.105 MB / 414.1 MB Notification: Performance of Templates: time 0.00798/0.3716, allocations: 3.264 MB / 0.5777 GB, free: 3.863 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.21956171002239]