Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001303/0.001303, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.00157/0.00157, allocations: 169 kB / 24.14 MB, free: 352 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.9401/0.9401, allocations: 158.6 MB / 186 MB, free: 2.75 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.1648/0.1648, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.91e-07/9.91e-07, allocations: 0 / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.809e-05, allocations: 2.312 kB / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002314/0.002332, allocations: 1.856 MB / 301 MB, free: 208 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1415, allocations: 0.8718 MB / 301.9 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1416, allocations: 0.875 kB / 301.9 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.1422, allocations: 301.6 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.1426, allocations: 211.5 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.143, allocations: 140.5 kB / 302.6 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004289/0.1434, allocations: 245 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.1435, allocations: 9.391 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.1437, allocations: 149.8 kB / 302.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.144, allocations: 167.4 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.144, allocations: 6.781 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1442, allocations: 48.47 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.1444, allocations: 134.3 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.1445, allocations: 70.75 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.145, allocations: 274.2 kB / 303.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.145, allocations: 0 / 303.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1451, allocations: 1.5 kB / 303.6 MB, free: 18.97 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.1451, allocations: 0.7812 kB / 303.6 MB, free: 18.97 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.000815/0.1459, allocations: 0.6118 MB / 304.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1459, allocations: 10.5 kB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.146, allocations: 28.58 kB / 304.3 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1463, allocations: 299.2 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1464, allocations: 5.25 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1464, allocations: 4.031 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1465, allocations: 91.17 kB / 304.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1465, allocations: 4.688 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1466, allocations: 4.906 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1466, allocations: 1.25 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.1466, allocations: 23.25 kB / 304.7 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.1468, allocations: 115.6 kB / 304.8 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1469, allocations: 76.58 kB / 304.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.147, allocations: 26.56 kB / 304.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.147, allocations: 3.5 kB / 304.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.1471, allocations: 98.25 kB / 305 MB, free: 18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.562e-06/0.1471, allocations: 0 / 305 MB, free: 18 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002113/0.1473, allocations: 109 kB / 305.1 MB, free: 17.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.1474, allocations: 84.3 kB / 305.2 MB, free: 17.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.1479, allocations: 0.5818 MB / 305.8 MB, free: 17.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.1479, allocations: 27.02 kB / 305.8 MB, free: 17.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.148, allocations: 146.5 kB / 306 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.148, allocations: 29.89 kB / 306 MB, free: 17.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1481, allocations: 30.22 kB / 306 MB, free: 17.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.1482, allocations: 362.1 kB / 306.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.1482, allocations: 13.62 kB / 306.4 MB, free: 17.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.1482, allocations: 46.47 kB / 306.4 MB, free: 17.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.1483, allocations: 73.2 kB / 306.5 MB, free: 17.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1483, allocations: 4.594 kB / 306.5 MB, free: 17.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001516/0.1484, allocations: 106 kB / 306.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1485, allocations: 6.594 kB / 306.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1485, allocations: 0.625 kB / 306.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.1485, allocations: 1.656 kB / 306.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-05/0.1486, allocations: 28.95 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1486, allocations: 12.08 kB / 306.7 MB, free: 17.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.375e-05/0.1487, allocations: 16.88 kB / 306.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1487, allocations: 3.453 kB / 306.7 MB, free: 17.07 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 8.785e-05/0.1488, allocations: 123.9 kB / 306.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.1488, allocations: 28.58 kB / 306.8 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.149, allocations: 116.2 kB / 306.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.149, allocations: 2.891 kB / 306.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.149, allocations: 3.938 kB / 307 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.149, allocations: 2.562 kB / 307 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.1492, allocations: 159.8 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1492, allocations: 4.703 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.658e-05/0.1492, allocations: 10.31 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1492, allocations: 1.125 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1492, allocations: 3.703 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1492, allocations: 1.188 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1492, allocations: 4.781 kB / 307.1 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1494, allocations: 134.9 kB / 307.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.1494, allocations: 54.91 kB / 307.3 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1495, allocations: 2.031 kB / 307.3 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.1495, allocations: 9.656 kB / 307.3 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.1495, allocations: 12.7 kB / 307.3 MB, free: 16.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1496, allocations: 11.42 kB / 307.4 MB, free: 16.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002986/0.1499, allocations: 307.8 kB / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1499, allocations: 0 / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.1501, allocations: 43.12 kB / 307.7 MB, free: 16.61 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: 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.001127/0.1512, allocations: 0.5098 MB / 308.2 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1513, allocations: 53.59 kB / 308.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.1514, allocations: 9.25 kB / 308.3 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.1514, allocations: 40.16 kB / 308.3 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.1517, allocations: 66.8 kB / 308.4 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.1525, allocations: 0.6207 MB / 309 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.071e-05/0.1526, allocations: 129.5 kB / 309.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.702e-05/0.1527, allocations: 39.17 kB / 309.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1528, allocations: 98.3 kB / 309.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.1528, allocations: 0 / 309.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.008622/0.1615, allocations: 4.211 MB / 313.5 MB, free: 14.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.097302638925612]