Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.00101/0.00101, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001059/0.001059, allocations: 169.3 kB / 24.14 MB, free: 364 kB / 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 0.9201/0.9201, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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.1311/0.1311, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.781e-05, allocations: 2.312 kB / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002469/0.002487, allocations: 1.771 MB / 301 MB, free: 300 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.1492, allocations: 0.7882 MB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.801e-05/0.1493, allocations: 6.375 kB / 301.8 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.1496, allocations: 45.2 kB / 301.8 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1498, allocations: 52 kB / 301.9 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.15, allocations: 88.38 kB / 301.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.1502, allocations: 103.9 kB / 302 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.1503, allocations: 5.719 kB / 302 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.1503, allocations: 55.41 kB / 302.1 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.1504, allocations: 30.45 kB / 302.1 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1504, allocations: 3.75 kB / 302.1 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.1505, allocations: 38 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.1506, allocations: 25.38 kB / 302.2 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.1506, allocations: 17.56 kB / 302.2 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1507, allocations: 97 kB / 302.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1507, allocations: 0 / 302.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1507, allocations: 1.875 kB / 302.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1508, allocations: 0.5312 kB / 302.3 MB, free: 19.11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003442/0.1511, allocations: 321.5 kB / 302.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1511, allocations: 9.219 kB / 302.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1512, allocations: 10.11 kB / 302.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1513, allocations: 143 kB / 302.8 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1513, allocations: 2.031 kB / 302.8 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.1513, allocations: 2.406 kB / 302.8 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1514, allocations: 64.77 kB / 302.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1515, allocations: 5.875 kB / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.1515, allocations: 0 / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1515, allocations: 1.859 kB / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.1515, allocations: 12.75 kB / 302.9 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.1517, allocations: 165.7 kB / 303 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.953e-05/0.1518, allocations: 84.53 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.1518, allocations: 13.31 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.1518, allocations: 2 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.181e-05/0.1519, allocations: 69.97 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.1519, allocations: 1.281 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002926/0.1522, allocations: 111.8 kB / 303.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1522, allocations: 57.14 kB / 303.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.1523, allocations: 173.7 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.557e-06/0.1523, allocations: 26.89 kB / 303.6 MB, free: 18.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.1523, allocations: 94.81 kB / 303.7 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1523, allocations: 29.17 kB / 303.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.1523, allocations: 23.3 kB / 303.7 MB, free: 17.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.1524, allocations: 324.2 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.1524, allocations: 10.48 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.1524, allocations: 24.05 kB / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.1525, allocations: 45 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1525, allocations: 2.375 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.847e-05/0.1525, allocations: 71.88 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.1526, allocations: 5.938 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1526, allocations: 0.7031 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1526, allocations: 1.656 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.1526, allocations: 20.28 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.1526, allocations: 6.844 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.1527, allocations: 4.797 kB / 304.2 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1527, allocations: 5.781 kB / 304.2 MB, free: 17.57 MB / 282.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 5.522e-05/0.1527, allocations: 118.6 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.1527, allocations: 16 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.1529, allocations: 72.08 kB / 304.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1529, allocations: 1.812 kB / 304.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1529, allocations: 0 / 304.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1529, allocations: 5.469 kB / 304.4 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1531, allocations: 299.8 kB / 304.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1531, allocations: 0 / 304.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.1531, allocations: 10.55 kB / 304.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1531, allocations: 1.125 kB / 304.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1531, allocations: 2.781 kB / 304.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1531, allocations: 1.812 kB / 304.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1531, allocations: 1.094 kB / 304.7 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.1532, allocations: 220.4 kB / 304.9 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.1532, allocations: 9.297 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1532, allocations: 6.25 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.1533, allocations: 8.547 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.1533, allocations: 6.156 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1533, allocations: 3.422 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.95e-05/0.1534, allocations: 46.66 kB / 305 MB, free: 16.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1534, allocations: 0 / 305 MB, free: 16.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.1535, allocations: 26.97 kB / 305.1 MB, free: 16.96 MB / 282.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.001175/0.1547, allocations: 0.5736 MB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1548, allocations: 39.81 kB / 305.7 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1548, allocations: 1.188 kB / 305.7 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.1548, allocations: 28.02 kB / 305.7 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.155, allocations: 39.72 kB / 305.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.1553, allocations: 220.8 kB / 305.9 MB, free: 16.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.1553, allocations: 66.62 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.1554, allocations: 10.84 kB / 306 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1554, allocations: 66.69 kB / 306.1 MB, free: 16.32 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1554, allocations: 0 / 306.1 MB, free: 16.32 MB / 282.7 MB Notification: Performance of Templates: time 0.004303/0.1598, allocations: 2.008 MB / 308.1 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0347472741268575]