Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.001879, allocations: 104.1 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002682/0.002682, allocations: 184.5 kB / 17.19 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2552/0.2552, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 76.06 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.135, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003494/0.1385, allocations: 1.656 MB / 442.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1398, allocations: 0.7789 MB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.1399, allocations: 4 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.1403, allocations: 67.78 kB / 443 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1405, allocations: 63.69 kB / 443.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1408, allocations: 75.77 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.141, allocations: 99.69 kB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.807e-05/0.141, allocations: 7.984 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.725e-05/0.1411, allocations: 43.78 kB / 443.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1412, allocations: 47.83 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1413, allocations: 4 kB / 443.4 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.1414, allocations: 35.98 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.1414, allocations: 11.94 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.1415, allocations: 35.78 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1417, allocations: 99.88 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1417, allocations: 0 / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1417, allocations: 0 / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1417, allocations: 0 / 443.5 MB, free: 3.855 MB / 318.1 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.0005334/0.1423, allocations: 410.9 kB / 443.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1423, allocations: 11.89 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.1424, allocations: 8.844 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.1426, allocations: 205 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1426, allocations: 384 / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.1426, allocations: 4.125 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1427, allocations: 57.61 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1428, allocations: 0 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1428, allocations: 0 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1428, allocations: 0 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.696e-05/0.1429, allocations: 19.98 kB / 444.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.143, allocations: 177.7 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1432, allocations: 50.61 kB / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.1432, allocations: 28.73 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1433, allocations: 0 / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.1434, allocations: 75.33 kB / 444.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.053e-06/0.1435, allocations: 7.922 kB / 444.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000248/0.1437, allocations: 93.56 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1438, allocations: 55.41 kB / 444.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1439, allocations: 186 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.1439, allocations: 29.7 kB / 444.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.272e-05/0.1439, allocations: 100.1 kB / 445 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.144, allocations: 11.91 kB / 445 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.144, allocations: 21.7 kB / 445.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.1441, allocations: 330.8 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.1441, allocations: 12 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/0.1442, allocations: 25.7 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.1443, allocations: 49.7 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1443, allocations: 0 / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001234/0.1444, allocations: 81.47 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1444, allocations: 8 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1444, allocations: 0 / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1444, allocations: 0 / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.1445, allocations: 11.98 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1445, allocations: 4 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1446, allocations: 7.844 kB / 445.6 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1446, allocations: 4 kB / 445.6 MB, free: 1.574 MB / 318.1 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 7.451e-05/0.1447, allocations: 144.9 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.1447, allocations: 7.906 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1447, allocations: 12.31 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1447, allocations: 0 / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1448, allocations: 0 / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1448, allocations: 4 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.838e-05/0.1449, allocations: 185.5 kB / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1449, allocations: 0 / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.1449, allocations: 4 kB / 445.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1449, allocations: 4.312 kB / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1449, allocations: 8 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1449, allocations: 4 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1449, allocations: 3.938 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.1451, allocations: 105 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.1451, allocations: 88.92 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1451, allocations: 4 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.1452, allocations: 3.984 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.1452, allocations: 11.94 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1452, allocations: 0 / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.902e-05/0.1453, allocations: 143.2 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1453, allocations: 0 / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1456, allocations: 23.94 kB / 446.3 MB, free: 0.7383 MB / 318.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001047/0.1466, allocations: 399.8 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.1468, allocations: 47.92 kB / 446.8 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1468, allocations: 4.062 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.1469, allocations: 19.98 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1472, allocations: 23.92 kB / 446.8 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.1477, allocations: 198.1 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.148, allocations: 0.7041 MB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.466e-05/0.1481, allocations: 16.41 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1481, allocations: 15.38 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1481, allocations: 0 / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Templates: time 0.004422/0.1526, allocations: 1.478 MB / 449.2 MB, free: 13.89 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches