Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001409/0.001409, allocations: 79.92 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.00186/0.00186, allocations: 169 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.9332/0.9332, allocations: 158.6 MB / 186 MB, free: 2.773 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.1513/0.1513, allocations: 32.37 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 7.922 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.658e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002961/0.002988, allocations: 1.727 MB / 300.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1449/0.1479, allocations: 0.7941 MB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1481, allocations: 3.938 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.1484, allocations: 37.53 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1487, allocations: 62.55 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1491, allocations: 89.83 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.1493, allocations: 95.67 kB / 301.9 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1494, allocations: 9.359 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1495, allocations: 54.81 kB / 302 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1496, allocations: 23.42 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1496, allocations: 6.219 kB / 302 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1498, allocations: 46.08 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.581e-05/0.1498, allocations: 17.62 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.1499, allocations: 20.12 kB / 302.1 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1501, allocations: 96.62 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1501, allocations: 0 / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1501, allocations: 0.6875 kB / 302.2 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1501, allocations: 0 / 302.2 MB, free: 19.14 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.0004262/0.1506, allocations: 324.6 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1506, allocations: 9.719 kB / 302.5 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.1506, allocations: 8.859 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1508, allocations: 144.7 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1508, allocations: 1.875 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1509, allocations: 4.234 kB / 302.7 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.151, allocations: 63.28 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.151, allocations: 5.594 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.151, allocations: 1.359 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.151, allocations: 1.094 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.1511, allocations: 13.48 kB / 302.8 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.1513, allocations: 161.4 kB / 302.9 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.1514, allocations: 85.58 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.1515, allocations: 13 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1515, allocations: 1.844 kB / 303 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.1516, allocations: 77.38 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.1516, allocations: 0.6562 kB / 303.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004135/0.152, allocations: 109.1 kB / 303.2 MB, free: 18.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.152, allocations: 57.38 kB / 303.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1522, allocations: 162.5 kB / 303.4 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1522, allocations: 27.81 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.1522, allocations: 92.92 kB / 303.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1523, allocations: 28.72 kB / 303.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1523, allocations: 23.98 kB / 303.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.1524, allocations: 327.2 kB / 303.9 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.1524, allocations: 10.67 kB / 303.9 MB, free: 17.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.1524, allocations: 24.66 kB / 304 MB, free: 17.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.1525, allocations: 43.45 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1525, allocations: 0 / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001212/0.1526, allocations: 74.16 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1526, allocations: 5 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1527, allocations: 5.922 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1527, allocations: 3.938 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.1528, allocations: 18.73 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1528, allocations: 1.906 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.1528, allocations: 6.703 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1528, allocations: 1.797 kB / 304.1 MB, free: 17.61 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 6.833e-05/0.1529, allocations: 118.2 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1529, allocations: 12.64 kB / 304.2 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.1531, allocations: 78.81 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1531, allocations: 3.625 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1531, allocations: 0 / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1531, allocations: 1.719 kB / 304.3 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.1534, allocations: 299.7 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1534, allocations: 1.062 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.1534, allocations: 9.781 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1534, allocations: 1.094 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1534, allocations: 5.219 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1534, allocations: 1.125 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1534, allocations: 1.094 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.1536, allocations: 217.9 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.1536, allocations: 10.89 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1536, allocations: 1.953 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.1537, allocations: 7.156 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1537, allocations: 6.766 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1537, allocations: 6.938 kB / 304.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.393e-05/0.1538, allocations: 43.62 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1538, allocations: 0 / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.1541, allocations: 26.94 kB / 305 MB, free: 16.99 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.001699/0.1558, allocations: 0.5686 MB / 305.5 MB, free: 16.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1559, allocations: 46.06 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.1559, allocations: 5.156 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.156, allocations: 22.8 kB / 305.6 MB, free: 16.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1563, allocations: 44.59 kB / 305.6 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.1567, allocations: 220.5 kB / 305.9 MB, free: 16.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.658e-05/0.1567, allocations: 66.45 kB / 305.9 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.1568, allocations: 11.98 kB / 305.9 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.1569, allocations: 66.98 kB / 306 MB, free: 16.34 MB / 282.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1569, allocations: 0 / 306 MB, free: 16.34 MB / 282.7 MB Notification: Performance of Templates: time 0.00598/0.1629, allocations: 2.006 MB / 308 MB, free: 16.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.255047706887126]