Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.001206/0.001206, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001391/0.001391, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.471/1.471, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2274/0.2274, allocations: 46.88 MB / 361.1 MB, free: 4.652 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") [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.002466/0.002466, allocations: 83.86 kB / 0.4968 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3437, allocations: 65.98 MB / 0.5613 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003226/0.3469, allocations: 1.749 MB / 0.563 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.3495, allocations: 1.726 MB / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.3496, allocations: 7.875 kB / 0.5647 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.3499, allocations: 47.77 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.3503, allocations: 95.59 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3505, allocations: 75.67 kB / 0.5649 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3507, allocations: 103.8 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3508, allocations: 7.984 kB / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3509, allocations: 55.66 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3511, allocations: 43.83 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3511, allocations: 4 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.3513, allocations: 111.9 kB / 0.5652 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.3514, allocations: 19.86 kB / 0.5652 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.3514, allocations: 39.8 kB / 0.5653 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.3517, allocations: 166.1 kB / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3517, allocations: 0 / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3517, allocations: 0 / 0.5654 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3517, allocations: 0 / 0.5654 GB, free: 0.7617 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.0006769/0.3524, allocations: 430.5 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3524, allocations: 15.95 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.3525, allocations: 12.84 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3528, allocations: 216.1 kB / 0.5661 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3528, allocations: 8.375 kB / 0.5661 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3529, allocations: 4.125 kB / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3531, allocations: 67.39 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3531, allocations: 0 / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3531, allocations: 7.938 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3531, allocations: 0 / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.3532, allocations: 23.92 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.3536, allocations: 288.9 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3538, allocations: 58.62 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.3539, allocations: 16.84 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3539, allocations: 7.984 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.3541, allocations: 67.33 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3541, allocations: 0 / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005544/0.3546, allocations: 177.6 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3547, allocations: 81.11 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.3548, allocations: 158.5 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3549, allocations: 29.7 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.355, allocations: 96.12 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.355, allocations: 23.81 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.355, allocations: 33.7 kB / 0.5672 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3552, allocations: 326.8 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.848e-05/0.3552, allocations: 16.06 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.3553, allocations: 46.56 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3554, allocations: 65.62 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3554, allocations: 4.031 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001999/0.3556, allocations: 93.64 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3557, allocations: 14.11 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3557, allocations: 4 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3557, allocations: 0 / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.3558, allocations: 12 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3558, allocations: 0 / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.3558, allocations: 7.938 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3558, allocations: 7.984 kB / 0.5677 GB, free: 14.14 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.0001062/0.3559, allocations: 129.2 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.356, allocations: 11.95 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.3563, allocations: 110.5 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3563, allocations: 4 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3563, allocations: 0 / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3563, allocations: 3.938 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.3568, allocations: 399.3 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3568, allocations: 4.219 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.3568, allocations: 8 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3568, allocations: 11.92 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3569, allocations: 7.875 kB / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3569, allocations: 0 / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3569, allocations: 0 / 0.5684 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.3572, allocations: 204.3 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.3572, allocations: 89.06 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.3573, allocations: 11.92 kB / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.3573, allocations: 0 / 0.5687 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.3574, allocations: 8 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3574, allocations: 7.984 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3575, allocations: 127.9 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3575, allocations: 0 / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.3578, allocations: 43.88 kB / 0.5689 GB, free: 12.88 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.001979/0.3598, allocations: 0.5365 MB / 0.5694 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.36, allocations: 55.91 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.36, allocations: 0 / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.3601, allocations: 27.92 kB / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3604, allocations: 28.11 kB / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.3608, allocations: 222.7 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3612, allocations: 0.6963 MB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.3612, allocations: 25.17 kB / 0.5704 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.3613, allocations: 15.44 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3613, allocations: 0 / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Templates: time 0.006/0.3673, allocations: 2.394 MB / 0.5728 GB, free: 9.023 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.111027231905609]