Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002381/0.002381, allocations: 91.61 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003017/0.003017, allocations: 161.3 kB / 24.28 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.667/1.667, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3802/0.3802, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.746e-05/3.962e-05, allocations: 2.312 kB / 375.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.004787/0.004826, allocations: 1.734 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.007438, allocations: 0.9976 MB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.007536, allocations: 4 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.007933, allocations: 39.77 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.008374, allocations: 103.5 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.008663, allocations: 79.59 kB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.008917, allocations: 111.6 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.009023, allocations: 4 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.009177, allocations: 55.83 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.009275, allocations: 23.91 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.009313, allocations: 4 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.009457, allocations: 51.84 kB / 378.6 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.009537, allocations: 23.92 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.009597, allocations: 19.88 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.009915, allocations: 123.6 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.009919, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.009921, allocations: 0 / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.00993, allocations: 4 kB / 378.7 MB, free: 1.516 MB / 346.7 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.0007954/0.01073, allocations: 447.5 kB / 379.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.01077, allocations: 8.031 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.01085, allocations: 20.84 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.01117, allocations: 160.8 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.01119, allocations: 4.375 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.01121, allocations: 4.375 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.01139, allocations: 58.17 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.01141, allocations: 3.938 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.01142, allocations: 4 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.01142, allocations: 0 / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/0.01152, allocations: 15.98 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.0121, allocations: 303.8 kB / 379.7 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.01234, allocations: 55.17 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.907e-05/0.01243, allocations: 27.61 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.01246, allocations: 4 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.01265, allocations: 69.05 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.01266, allocations: 4 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007576/0.01341, allocations: 185.3 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.0135, allocations: 55.34 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.01385, allocations: 257.9 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.01388, allocations: 25.7 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.01404, allocations: 162.8 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.01409, allocations: 23.81 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.01417, allocations: 35.36 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003486/0.01452, allocations: 0.5001 MB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.0146, allocations: 19.98 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.0147, allocations: 47.36 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.01486, allocations: 67.25 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.01487, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002785/0.01514, allocations: 101.6 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.01517, allocations: 10.03 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01517, allocations: 0 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01519, allocations: 384 / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.01531, allocations: 15.94 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.01532, allocations: 4 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.72e-05/0.01538, allocations: 11.98 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.0154, allocations: 8.031 kB / 381.4 MB, free: 14.62 MB / 362.7 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.0004661/0.01586, allocations: 168.5 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.01592, allocations: 19.91 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.01626, allocations: 119.2 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01627, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.01628, allocations: 4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01629, allocations: 3.938 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.01705, allocations: 420.9 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01705, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.01711, allocations: 16.03 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01712, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01713, allocations: 4 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.01714, allocations: 3.984 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01714, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.01757, allocations: 271.4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.0176, allocations: 11.91 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.01763, allocations: 0 / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.01775, allocations: 7.938 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.01782, allocations: 15.97 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.01784, allocations: 4 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002299/0.01807, allocations: 196.1 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01807, allocations: 0 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.01849, allocations: 20 kB / 382.6 MB, free: 13.28 MB / 362.7 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 (9): * Single equations (assignments): 7 * 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.004056/0.02254, allocations: 496.7 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.02283, allocations: 67.59 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02283, allocations: 0 / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.02295, allocations: 43.61 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.02346, allocations: 31.95 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.02418, allocations: 233.9 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.02433, allocations: 104.9 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.094e-05/0.0244, allocations: 17.28 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.02446, allocations: 20.48 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02446, allocations: 0 / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Templates: time 0.007713/0.03218, allocations: 1.859 MB / 385.5 MB, free: 10.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.1705284480703995]