Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.001153/0.001153, 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.001281/0.001281, allocations: 169.3 kB / 24.14 MB, free: 356 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.8547/0.8547, allocations: 158.6 MB / 186 MB, free: 2.762 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.1334/0.1334, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.443e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.005776/0.005801, allocations: 1.696 MB / 300.8 MB, free: 428 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1349/0.1407, allocations: 0.7731 MB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.1408, allocations: 0 / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1411, allocations: 54.53 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1413, allocations: 69.75 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1416, allocations: 83.17 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1417, allocations: 98.84 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.1418, allocations: 6.547 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.1419, allocations: 49.78 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.1419, allocations: 34.95 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.142, allocations: 2.969 kB / 302 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.142, allocations: 29.59 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.1421, allocations: 31.33 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.1421, allocations: 14.62 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1423, allocations: 78.7 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1423, allocations: 0.9375 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1423, allocations: 0 / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1423, allocations: 0.75 kB / 302.2 MB, free: 19.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003117/0.1426, allocations: 302.7 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1426, allocations: 8.812 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.1426, allocations: 7.828 kB / 302.5 MB, free: 18.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1428, allocations: 142.3 kB / 302.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1428, allocations: 3.547 kB / 302.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1428, allocations: 2.969 kB / 302.6 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.1429, allocations: 59.88 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1429, allocations: 2.875 kB / 302.7 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1429, allocations: 7.906 kB / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1429, allocations: 0.875 kB / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.1429, allocations: 7.141 kB / 302.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.563e-05/0.143, allocations: 69.3 kB / 302.8 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.1431, allocations: 42.3 kB / 302.8 MB, free: 18.6 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.1431, allocations: 11.38 kB / 302.8 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.1431, allocations: 1.312 kB / 302.8 MB, free: 18.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.879e-05/0.1432, allocations: 65.44 kB / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1432, allocations: 0 / 302.9 MB, free: 18.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000113/0.1433, allocations: 56.78 kB / 302.9 MB, free: 18.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.1433, allocations: 57.58 kB / 303 MB, free: 18.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.1434, allocations: 161.6 kB / 303.1 MB, free: 18.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.1434, allocations: 32.67 kB / 303.2 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.456e-05/0.1435, allocations: 92.12 kB / 303.3 MB, free: 18.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1435, allocations: 7.703 kB / 303.3 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.1435, allocations: 29.28 kB / 303.3 MB, free: 18.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.141e-05/0.1435, allocations: 322.8 kB / 303.6 MB, free: 17.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.1436, allocations: 8.234 kB / 303.6 MB, free: 17.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.1436, allocations: 19.05 kB / 303.6 MB, free: 17.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.1436, allocations: 38.34 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1436, allocations: 1.281 kB / 303.7 MB, free: 17.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.841e-05/0.1437, allocations: 58.73 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1437, allocations: 5.906 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1437, allocations: 1.812 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1437, allocations: 0.5156 kB / 303.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.1438, allocations: 11.42 kB / 303.8 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1438, allocations: 6.594 kB / 303.8 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.1438, allocations: 10.86 kB / 303.8 MB, free: 17.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1438, allocations: 6.938 kB / 303.8 MB, free: 17.77 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 (7): * Single equations (assignments): 7 * 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 4.494e-05/0.1439, allocations: 115.5 kB / 303.9 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1439, allocations: 14.03 kB / 303.9 MB, free: 17.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.37e-05/0.144, allocations: 64.3 kB / 304 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.144, allocations: 1.25 kB / 304 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.144, allocations: 4.828 kB / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.144, allocations: 0 / 304 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.379e-05/0.144, allocations: 79.12 kB / 304.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.144, allocations: 1.969 kB / 304.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.1441, allocations: 7.562 kB / 304.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1441, allocations: 1.125 kB / 304.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.1441, allocations: 4.641 kB / 304.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1441, allocations: 1.859 kB / 304.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1441, allocations: 0 / 304.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.1441, allocations: 92.95 kB / 304.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.1441, allocations: 8.078 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1442, allocations: 1.719 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.1442, allocations: 3.344 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.1442, allocations: 4.578 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1442, allocations: 2 kB / 304.2 MB, free: 17.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.191e-05/0.1443, allocations: 45.61 kB / 304.2 MB, free: 17.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1443, allocations: 0 / 304.2 MB, free: 17.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.1444, allocations: 30.41 kB / 304.3 MB, free: 17.43 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001156/0.1456, allocations: 0.4985 MB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.1457, allocations: 32.23 kB / 304.8 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1457, allocations: 2.25 kB / 304.8 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.1457, allocations: 15.64 kB / 304.8 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1458, allocations: 23.98 kB / 304.8 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.1461, allocations: 188.3 kB / 305 MB, free: 17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.1462, allocations: 63.94 kB / 305.1 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.496e-05/0.1462, allocations: 13.34 kB / 305.1 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.1462, allocations: 67.72 kB / 305.2 MB, free: 16.88 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1462, allocations: 1.406 kB / 305.2 MB, free: 16.88 MB / 282.7 MB Notification: Performance of Templates: time 0.003917/0.1502, allocations: 1.742 MB / 306.9 MB, free: 16.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.065364200156182]