Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.002065/0.002065, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.002423/0.002423, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.638e-05/4.943e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003668/0.003718, allocations: 1.778 MB / 348.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.005056, allocations: 0.8661 MB / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.005137, allocations: 0 / 349.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.005636, allocations: 315.1 kB / 350 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.005958, allocations: 211.3 kB / 350.2 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.006269, allocations: 139.6 kB / 350.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.006511, allocations: 255.2 kB / 350.6 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.006558, allocations: 9.797 kB / 350.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.00672, allocations: 143.6 kB / 350.7 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.00694, allocations: 207.6 kB / 350.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.006981, allocations: 8 kB / 350.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.00711, allocations: 47.92 kB / 351 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.007291, allocations: 139.6 kB / 351.1 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.007406, allocations: 75.64 kB / 351.2 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.007867, allocations: 350.7 kB / 351.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.007872, allocations: 0 / 351.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.007873, allocations: 0 / 351.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.007885, allocations: 0 / 351.5 MB, free: 5.199 MB / 282.7 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.001064/0.008948, allocations: 0.7978 MB / 352.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.008996, allocations: 8.031 kB / 352.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.009113, allocations: 56.56 kB / 352.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.009619, allocations: 328.7 kB / 352.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.009639, allocations: 8.375 kB / 352.7 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.009655, allocations: 8.312 kB / 352.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.009849, allocations: 85.58 kB / 352.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.009863, allocations: 3.938 kB / 352.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.009878, allocations: 0 / 352.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.009885, allocations: 4 kB / 352.8 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.009989, allocations: 23.98 kB / 352.8 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.01035, allocations: 356.2 kB / 353.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.0106, allocations: 110.2 kB / 353.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.01068, allocations: 43.36 kB / 353.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.01071, allocations: 4 kB / 353.3 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.01091, allocations: 124.3 kB / 353.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.01091, allocations: 0 / 353.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004609/0.01137, allocations: 197.2 kB / 353.6 MB, free: 2.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.01141, allocations: 81.09 kB / 353.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006537/0.01206, allocations: 0.7526 MB / 354.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.01208, allocations: 29.7 kB / 354.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.01227, allocations: 318.8 kB / 354.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.01231, allocations: 39.73 kB / 354.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.01235, allocations: 39.36 kB / 354.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.01251, allocations: 0.5782 MB / 355.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.01257, allocations: 27.92 kB / 355.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.01265, allocations: 66.73 kB / 355.6 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.01278, allocations: 99.16 kB / 355.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01279, allocations: 0 / 355.7 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002484/0.01303, allocations: 169.3 kB / 355.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.01305, allocations: 8.062 kB / 355.8 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.01306, allocations: 3.938 kB / 355.8 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.01308, allocations: 4 kB / 355.8 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.01321, allocations: 23.92 kB / 355.9 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.01322, allocations: 4 kB / 355.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.181e-05/0.0133, allocations: 7.953 kB / 355.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.01331, allocations: 8 kB / 355.9 MB, free: 0.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001075/0.01342, allocations: 172.4 kB / 356.1 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.01348, allocations: 59.66 kB / 356.1 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.01383, allocations: 185.6 kB / 356.3 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01384, allocations: 0 / 356.3 MB, free: 116 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.01385, allocations: 3.984 kB / 356.3 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.01385, allocations: 4 kB / 356.3 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.01433, allocations: 340.5 kB / 356.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01433, allocations: 0 / 356.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.01439, allocations: 16 kB / 356.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01439, allocations: 0 / 356.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.01441, allocations: 7.922 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.01441, allocations: 11.88 kB / 356.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01442, allocations: 0 / 356.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.01487, allocations: 227.9 kB / 356.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.01504, allocations: 63.66 kB / 357 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.01509, allocations: 8 kB / 357 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.01519, allocations: 11.92 kB / 357 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.01526, allocations: 7.984 kB / 357 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.01529, allocations: 8 kB / 357 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000856/0.01614, allocations: 494.8 kB / 357.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01614, allocations: 0 / 357.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.01644, allocations: 51.94 kB / 357.5 MB, free: 14.82 MB / 298.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003227/0.01967, allocations: 443.2 kB / 358 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003937/0.02007, allocations: 87.72 kB / 358 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02007, allocations: 0 / 358 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.02023, allocations: 59.84 kB / 358.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/0.02085, allocations: 79.56 kB / 358.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.02229, allocations: 0.6668 MB / 358.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.0226, allocations: 225.8 kB / 359.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.02274, allocations: 42.94 kB / 359.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.02282, allocations: 24.5 kB / 359.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02282, allocations: 0 / 359.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of Templates: time 0.01051/0.03333, allocations: 3.972 MB / 363.1 MB, free: 9.305 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.468395708943717]