Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001328/0.001328, allocations: 84.16 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00134/0.00134, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.391/1.391, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 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.1954/0.1954, allocations: 32.82 MB / 293.5 MB, free: 56 kB / 270.1 MB " [Timeout remaining time 180] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.485e-05, allocations: 2.281 kB / 440.2 MB, free: 8.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003049/0.003073, allocations: 1.788 MB / 442 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.005032, allocations: 1.044 MB / 443 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.005114, allocations: 0 / 443 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.005663, allocations: 303.1 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.006183, allocations: 259 kB / 443.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.006432, allocations: 111.6 kB / 443.7 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.00678, allocations: 267.2 kB / 443.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.006832, allocations: 5.812 kB / 443.9 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.00704, allocations: 151.6 kB / 444.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.007313, allocations: 204.1 kB / 444.3 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.007345, allocations: 8 kB / 444.3 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.007457, allocations: 43.92 kB / 444.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.007619, allocations: 144.5 kB / 444.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.007719, allocations: 71.66 kB / 444.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.00813, allocations: 346.8 kB / 444.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.008135, allocations: 7.984 kB / 444.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008136, allocations: 0 / 444.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.008146, allocations: 3.938 kB / 444.9 MB, free: 3.352 MB / 366.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.001067/0.009213, allocations: 0.663 MB / 445.5 MB, free: 2.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.009253, allocations: 12.03 kB / 445.6 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.009343, allocations: 56.59 kB / 445.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.009911, allocations: 389.8 kB / 446 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.009923, allocations: 384 / 446 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.009942, allocations: 4.375 kB / 446 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.01017, allocations: 91.86 kB / 446.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01018, allocations: 7.938 kB / 446.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.0102, allocations: 3.938 kB / 446.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.0102, allocations: 3.938 kB / 446.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.01032, allocations: 35.97 kB / 446.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.0107, allocations: 294.1 kB / 446.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.011, allocations: 109.2 kB / 446.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.0111, allocations: 45.69 kB / 446.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.01112, allocations: 0 / 446.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.01135, allocations: 117 kB / 446.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.01135, allocations: 0 / 446.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005172/0.01187, allocations: 209.1 kB / 446.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.01193, allocations: 85.09 kB / 447 MB, free: 1.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.01306, allocations: 1.03 MB / 448 MB, free: 48 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.01308, allocations: 29.7 kB / 448 MB, free: 12 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1688/0.1819, allocations: 230.5 kB / 448.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.1819, allocations: 31.28 kB / 448.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.182, allocations: 29.67 kB / 448.3 MB, free: 21.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.1821, allocations: 365.6 kB / 448.7 MB, free: 21.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.1822, allocations: 35.23 kB / 448.7 MB, free: 21.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.113e-05/0.1823, allocations: 55.78 kB / 448.8 MB, free: 21.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1825, allocations: 104.5 kB / 448.9 MB, free: 21.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1825, allocations: 3.188 kB / 448.9 MB, free: 21.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003454/0.1828, allocations: 173.5 kB / 449 MB, free: 21.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1828, allocations: 5.094 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1828, allocations: 2.625 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1829, allocations: 5.328 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.183, allocations: 25.22 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.183, allocations: 3.703 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1831, allocations: 11.2 kB / 449.1 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1831, allocations: 8.953 kB / 449.1 MB, free: 21.32 MB / 366.1 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.0001862/0.1833, allocations: 218.3 kB / 449.3 MB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1833, allocations: 55.08 kB / 449.4 MB, free: 21.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003785/0.1837, allocations: 202.9 kB / 449.6 MB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1837, allocations: 6.75 kB / 449.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1837, allocations: 1.953 kB / 449.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1837, allocations: 0.7969 kB / 449.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.184, allocations: 263.7 kB / 449.8 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.184, allocations: 7.094 kB / 449.8 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.184, allocations: 17.22 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.184, allocations: 0.875 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.184, allocations: 4.672 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.184, allocations: 0 / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.184, allocations: 5.938 kB / 449.9 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.1844, allocations: 217.7 kB / 450.1 MB, free: 20.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.657e-05/0.1845, allocations: 65.11 kB / 450.1 MB, free: 20.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.1845, allocations: 7.688 kB / 450.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.1846, allocations: 7.938 kB / 450.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.1846, allocations: 13.19 kB / 450.2 MB, free: 20.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.1847, allocations: 10.53 kB / 450.2 MB, free: 20.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00078/0.1854, allocations: 0.7675 MB / 451 MB, free: 20.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1854, allocations: 0 / 451 MB, free: 20.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1857, allocations: 43.44 kB / 451 MB, free: 20.44 MB / 366.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: 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.001599/0.1873, allocations: 447.6 kB / 451.4 MB, free: 20.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1876, allocations: 89.75 kB / 451.5 MB, free: 20.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1876, allocations: 4.125 kB / 451.5 MB, free: 20.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1877, allocations: 42.67 kB / 451.6 MB, free: 20.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1881, allocations: 74.7 kB / 451.6 MB, free: 20.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1892, allocations: 0.8732 MB / 452.5 MB, free: 19.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1894, allocations: 247.7 kB / 452.8 MB, free: 19.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1895, allocations: 58.52 kB / 452.8 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.1896, allocations: 29.77 kB / 452.8 MB, free: 19.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1896, allocations: 0 / 452.8 MB, free: 19.72 MB / 366.1 MB Notification: Performance of Templates: time 0.00848/0.1981, allocations: 3.978 MB / 456.8 MB, free: 19.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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: 4.620512057095766]