Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.005718/0.005718, allocations: 109.4 kB / 21.98 MB, free: 5.184 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.001432/0.001432, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.427/1.427, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2306/0.2306, allocations: 46.93 MB / 362.3 MB, free: 4.199 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") [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.002295/0.002295, allocations: 79.86 kB / 0.4983 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3424, allocations: 66.08 MB / 0.5628 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003236/0.3456, allocations: 1.745 MB / 0.5645 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3475, allocations: 1.053 MB / 0.5655 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.13e-05/0.3475, allocations: 4 kB / 0.5655 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.3479, allocations: 55.69 kB / 0.5656 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.3482, allocations: 99.55 kB / 0.5657 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.3484, allocations: 79.72 kB / 0.5658 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3486, allocations: 103.7 kB / 0.5659 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.3487, allocations: 4 kB / 0.5659 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3488, allocations: 59.7 kB / 0.5659 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.3489, allocations: 31.86 kB / 0.5659 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3489, allocations: 4 kB / 0.566 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.349, allocations: 47.91 kB / 0.566 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.3491, allocations: 35.84 kB / 0.566 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.3491, allocations: 35.69 kB / 0.5661 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3494, allocations: 145.8 kB / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3494, allocations: 0 / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3494, allocations: 0 / 0.5662 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3494, allocations: 0 / 0.5662 GB, free: 0.7109 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.0005871/0.35, allocations: 385.3 kB / 0.5666 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.35, allocations: 12.02 kB / 0.5666 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.3501, allocations: 16.84 kB / 0.5666 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3503, allocations: 165.9 kB / 0.5668 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3504, allocations: 8.375 kB / 0.5668 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3504, allocations: 384 / 0.5668 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3505, allocations: 57.98 kB / 0.5668 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3506, allocations: 4 kB / 0.5668 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3506, allocations: 0 / 0.5668 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3506, allocations: 0 / 0.5668 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.843e-05/0.3507, allocations: 24.03 kB / 0.5668 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.3511, allocations: 271.8 kB / 0.5671 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3512, allocations: 54.67 kB / 0.5672 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.3513, allocations: 16.86 kB / 0.5672 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3513, allocations: 4 kB / 0.5672 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.3515, allocations: 75.27 kB / 0.5673 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.567e-06/0.3515, allocations: 3.984 kB / 0.5673 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005773/0.352, allocations: 185.2 kB / 0.5674 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3521, allocations: 55.34 kB / 0.5675 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.3524, allocations: 284.2 kB / 0.5678 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3524, allocations: 25.7 kB / 0.5678 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.3525, allocations: 124.1 kB / 0.5679 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.3525, allocations: 31.77 kB / 0.5679 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.3526, allocations: 21.72 kB / 0.5679 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3527, allocations: 330.8 kB / 0.5683 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.3528, allocations: 19.98 kB / 0.5683 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.3529, allocations: 33.7 kB / 0.5683 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.353, allocations: 69.64 kB / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.353, allocations: 384 / 0.5684 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.3532, allocations: 105.5 kB / 0.5685 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3532, allocations: 4 kB / 0.5685 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3532, allocations: 0 / 0.5685 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3532, allocations: 8 kB / 0.5685 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.3533, allocations: 19.92 kB / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3533, allocations: 0 / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.873e-05/0.3534, allocations: 8.031 kB / 0.5685 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3534, allocations: 0 / 0.5685 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.0001277/0.3535, allocations: 141.8 kB / 0.5687 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3535, allocations: 15.89 kB / 0.5687 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.3538, allocations: 127.1 kB / 0.5688 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3538, allocations: 4 kB / 0.5688 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3538, allocations: 0 / 0.5688 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3538, allocations: 0 / 0.5688 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.3543, allocations: 386.3 kB / 0.5692 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3543, allocations: 0 / 0.5692 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.3543, allocations: 8 kB / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3543, allocations: 0 / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3543, allocations: 0 / 0.5692 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.3543, allocations: 7.938 kB / 0.5692 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3543, allocations: 0 / 0.5692 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3546, allocations: 220.2 kB / 0.5694 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.3546, allocations: 15.86 kB / 0.5694 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3546, allocations: 8 kB / 0.5694 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.3547, allocations: 3.938 kB / 0.5694 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.3548, allocations: 7.984 kB / 0.5694 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3548, allocations: 4 kB / 0.5694 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.355, allocations: 211.2 kB / 0.5696 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.355, allocations: 0 / 0.5696 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3552, allocations: 24.19 kB / 0.5697 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.001688/0.3569, allocations: 460.5 kB / 0.5701 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.3571, allocations: 55.92 kB / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3571, allocations: 0 / 0.5701 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.982e-05/0.3572, allocations: 23.98 kB / 0.5702 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3576, allocations: 36.17 kB / 0.5702 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.3582, allocations: 333.2 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3585, allocations: 0.7237 MB / 0.5712 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.3585, allocations: 19.42 kB / 0.5712 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3585, allocations: 0 / 0.5712 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.004468/0.363, allocations: 2.141 MB / 0.5733 GB, free: 9.207 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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: 7.81732418294996]