Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001841/0.001841, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002674/0.002674, allocations: 217.7 kB / 24.54 MB, free: 3.898 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.62/1.62, allocations: 230.5 MB / 258.2 MB, free: 7.973 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.2972/0.2972, allocations: 46.93 MB / 361.6 MB, free: 4.168 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-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.Test4,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") [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.002666/0.002666, allocations: 79.86 kB / 0.4975 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3588, allocations: 66.07 MB / 0.5621 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003496/0.3623, allocations: 1.764 MB / 0.5638 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3641, allocations: 1.06 MB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.3642, allocations: 0 / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.3645, allocations: 87.69 kB / 0.5649 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.3649, allocations: 119.5 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3651, allocations: 79.73 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.3653, allocations: 127.6 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.3654, allocations: 7.984 kB / 0.5652 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3655, allocations: 63.75 kB / 0.5653 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3656, allocations: 67.69 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3657, allocations: 4 kB / 0.5653 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3658, allocations: 59.92 kB / 0.5654 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.3658, allocations: 23.92 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.3659, allocations: 39.72 kB / 0.5655 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.3661, allocations: 142 kB / 0.5656 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3661, allocations: 0 / 0.5656 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3661, allocations: 0 / 0.5656 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3661, allocations: 0 / 0.5656 GB, free: 0.5742 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.0005852/0.3667, allocations: 381.3 kB / 0.566 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3668, allocations: 8.031 kB / 0.566 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.3668, allocations: 16.84 kB / 0.566 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.3671, allocations: 166.2 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3671, allocations: 4.375 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3672, allocations: 4.375 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3673, allocations: 61.98 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3673, allocations: 0 / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3674, allocations: 0 / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3674, allocations: 4 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.3675, allocations: 27.92 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.3679, allocations: 275.8 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.3681, allocations: 58.55 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.3682, allocations: 20.97 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3682, allocations: 0 / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3684, allocations: 71.33 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3684, allocations: 0 / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000839/0.3692, allocations: 257.7 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.3692, allocations: 51.41 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.3695, allocations: 223.5 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3695, allocations: 29.7 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.3696, allocations: 112.2 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3696, allocations: 27.75 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.3697, allocations: 33.7 kB / 0.5673 GB, free: 14.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3699, allocations: 330.8 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.175e-05/0.3699, allocations: 27.98 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.37, allocations: 45.7 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.3702, allocations: 81.64 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3702, allocations: 0 / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002381/0.3704, allocations: 129.5 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3704, allocations: 8.031 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3704, allocations: 0 / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3704, allocations: 4 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.3705, allocations: 23.92 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3705, allocations: 0 / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.3706, allocations: 11.94 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3706, allocations: 4 kB / 0.568 GB, free: 13.92 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.0001275/0.3707, allocations: 133.8 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3708, allocations: 11.91 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.3711, allocations: 159.1 kB / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3711, allocations: 0 / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3711, allocations: 0 / 0.5683 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3711, allocations: 3.938 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.3716, allocations: 415.2 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3716, allocations: 0 / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.3717, allocations: 15.98 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3717, allocations: 8 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3717, allocations: 4 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3717, allocations: 0 / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3717, allocations: 3.938 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.372, allocations: 233.1 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.372, allocations: 19.84 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3721, allocations: 4 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.3721, allocations: 0 / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.3722, allocations: 11.98 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3722, allocations: 15.92 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.3724, allocations: 169.1 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3724, allocations: 3.938 kB / 0.5691 GB, free: 12.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.3726, allocations: 27.94 kB / 0.5692 GB, free: 12.61 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 (11): * Single equations (assignments): 9 * 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.00193/0.3746, allocations: 0.5101 MB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.3748, allocations: 71.84 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3748, allocations: 0 / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.3749, allocations: 39.92 kB / 0.5698 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3752, allocations: 35.66 kB / 0.5698 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.3758, allocations: 276.8 kB / 0.5701 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3761, allocations: 0.7118 MB / 0.5708 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.069e-05/0.3762, allocations: 20.62 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.3762, allocations: 23.44 kB / 0.5708 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3762, allocations: 0 / 0.5708 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005449/0.3817, allocations: 2.061 MB / 0.5728 GB, free: 9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.473036533221602]