Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.001784/0.001784, allocations: 114.5 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.002297/0.002297, allocations: 206.8 kB / 24.47 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.539/1.539, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2436/0.2436, allocations: 46.9 MB / 361.1 MB, free: 4.652 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9") [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.00226/0.00226, allocations: 83.88 kB / 0.4968 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3674, allocations: 65.98 MB / 0.5613 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003355/0.3707, allocations: 1.745 MB / 0.563 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3726, allocations: 1.059 MB / 0.564 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.3727, allocations: 0 / 0.564 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.373, allocations: 87.69 kB / 0.5641 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.3733, allocations: 111.6 kB / 0.5642 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.3735, allocations: 79.67 kB / 0.5643 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.3737, allocations: 111.7 kB / 0.5644 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3738, allocations: 11.94 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.374, allocations: 59.77 kB / 0.5645 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3741, allocations: 59.75 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3741, allocations: 4 kB / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.3742, allocations: 43.98 kB / 0.5646 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.3743, allocations: 31.89 kB / 0.5646 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.3743, allocations: 35.69 kB / 0.5646 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.3746, allocations: 122.3 kB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3746, allocations: 0 / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3746, allocations: 4 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3746, allocations: 3.938 kB / 0.5647 GB, free: 1.453 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.0006408/0.3752, allocations: 438.5 kB / 0.5652 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3753, allocations: 8.031 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3753, allocations: 12.84 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3756, allocations: 224.1 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3756, allocations: 384 / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.3757, allocations: 8.375 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3758, allocations: 53.98 kB / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3758, allocations: 0 / 0.5655 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3759, allocations: 8 kB / 0.5655 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3759, allocations: 3.938 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.627e-05/0.3759, allocations: 19.98 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.3763, allocations: 284.9 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3765, allocations: 54.67 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.3766, allocations: 28.78 kB / 0.5658 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3766, allocations: 0 / 0.5658 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.3768, allocations: 67.39 kB / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3768, allocations: 0 / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005819/0.3773, allocations: 177.3 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3774, allocations: 63.39 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.3776, allocations: 223.4 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3776, allocations: 29.64 kB / 0.5664 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.3777, allocations: 112.1 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3778, allocations: 23.78 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3778, allocations: 21.72 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3779, allocations: 334.7 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.12e-05/0.378, allocations: 19.98 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.3781, allocations: 41.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3782, allocations: 61.64 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3782, allocations: 0 / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000199/0.3784, allocations: 101.5 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3784, allocations: 4 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3784, allocations: 0 / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3785, allocations: 4 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.3786, allocations: 15.98 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3786, allocations: 4.031 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.3786, allocations: 8 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3786, allocations: 384 / 0.5671 GB, free: 14.8 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.0001179/0.3787, allocations: 129.8 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.3788, allocations: 15.91 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.379, allocations: 123 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.379, allocations: 0 / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.379, allocations: 8 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.379, allocations: 4 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.3795, allocations: 399.2 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3795, allocations: 0 / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.3796, allocations: 8 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3796, allocations: 0 / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3796, allocations: 8 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3796, allocations: 7.922 kB / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3796, allocations: 0 / 0.5678 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3799, allocations: 208.6 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.3799, allocations: 89.06 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3799, allocations: 4 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.38, allocations: 3.938 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.38, allocations: 7.984 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3801, allocations: 4 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.3802, allocations: 173.3 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3802, allocations: 3.938 kB / 0.5682 GB, free: 13.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3805, allocations: 35.81 kB / 0.5683 GB, free: 13.48 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.001701/0.3822, allocations: 451.6 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.3824, allocations: 55.91 kB / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3824, allocations: 0 / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.3825, allocations: 23.94 kB / 0.5688 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3829, allocations: 42.14 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.3834, allocations: 271.2 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3838, allocations: 0.712 MB / 0.5698 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.3838, allocations: 13.19 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.3839, allocations: 19.42 kB / 0.5698 GB, free: 12.03 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3839, allocations: 0 / 0.5698 GB, free: 12.03 MB / 414.1 MB Notification: Performance of Templates: time 0.005348/0.3892, allocations: 1.778 MB / 0.5715 GB, free: 10.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.257235717959702]