Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 107.2 kB / 16.27 MB, free: 6.41 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.002163/0.002163, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.787/1.787, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2382/0.2382, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.003012/0.003012, allocations: 67.52 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1348, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003098/0.1379, allocations: 1.697 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1397, allocations: 1.395 MB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.1398, allocations: 4 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.1401, allocations: 35.83 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1404, allocations: 63.69 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1406, allocations: 83.77 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1408, allocations: 95.69 kB / 443.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1409, allocations: 16.5 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.141, allocations: 43.73 kB / 444 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1411, allocations: 35.83 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1412, allocations: 4 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1413, allocations: 63.98 kB / 444.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.1413, allocations: 19.91 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.1414, allocations: 27.81 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1416, allocations: 119.7 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1416, allocations: 4 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1416, allocations: 4 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1416, allocations: 3.938 kB / 444.2 MB, free: 3.168 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004383/0.142, allocations: 403 kB / 444.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1421, allocations: 15.89 kB / 444.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.1421, allocations: 12.84 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.1423, allocations: 201.4 kB / 444.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1423, allocations: 4.375 kB / 444.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1424, allocations: 4.125 kB / 444.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1425, allocations: 67.39 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1425, allocations: 7.844 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1425, allocations: 4 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1426, allocations: 0 / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.1426, allocations: 23.98 kB / 445 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.1429, allocations: 284.8 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1431, allocations: 54.61 kB / 445.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.1431, allocations: 24.8 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1432, allocations: 4 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1433, allocations: 67.39 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1433, allocations: 3.938 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004738/0.1438, allocations: 169.3 kB / 445.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1439, allocations: 81.11 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.144, allocations: 152.9 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.144, allocations: 29.7 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.1441, allocations: 100.1 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1441, allocations: 31.62 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1441, allocations: 21.72 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.1442, allocations: 326.8 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.1442, allocations: 23.98 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/0.1443, allocations: 42.5 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.1444, allocations: 61.73 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1444, allocations: 0 / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.1446, allocations: 97.53 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1446, allocations: 4 kB / 446.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1446, allocations: 4 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1446, allocations: 0 / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.1447, allocations: 15.98 kB / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1447, allocations: 0 / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1448, allocations: 15.88 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1448, allocations: 8 kB / 446.6 MB, free: 0.6016 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 (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 7.52e-05/0.1449, allocations: 129.7 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.1449, allocations: 7.906 kB / 446.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.1449, allocations: 12.72 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1449, allocations: 4 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1449, allocations: 0 / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.145, allocations: 3.938 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1453, allocations: 399.5 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1453, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1454, allocations: 8 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1454, allocations: 0 / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1454, allocations: 7.938 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1454, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1454, allocations: 192 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1456, allocations: 204.3 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1457, allocations: 84.95 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.1457, allocations: 16.19 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1458, allocations: 4 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1459, allocations: 11.98 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1459, allocations: 4 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.613e-05/0.146, allocations: 115.2 kB / 447.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.146, allocations: 4 kB / 447.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1462, allocations: 32 kB / 447.6 MB, free: 15.46 MB / 334.1 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 (8): * Single equations (assignments): 6 * 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.001157/0.1474, allocations: 499.7 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.1476, allocations: 59.92 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1476, allocations: 0 / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1477, allocations: 35.86 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.148, allocations: 28.28 kB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.1484, allocations: 199 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1487, allocations: 0.6963 MB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.1488, allocations: 20.86 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.1488, allocations: 23.44 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1488, allocations: 0 / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Templates: time 0.004808/0.1536, allocations: 1.94 MB / 451.1 MB, free: 12.02 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches