Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 222.4 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 103.6 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3304/0.3304, allocations: 43.48 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 55.91 kB / 429.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1224, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003633/0.1261, allocations: 1.767 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1278, allocations: 0.7807 MB / 489.6 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.1279, allocations: 7.938 kB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.1282, allocations: 51.86 kB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1285, allocations: 59.75 kB / 489.7 MB, free: 9.859 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1288, allocations: 75.8 kB / 489.8 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.129, allocations: 95.69 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1291, allocations: 24.19 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.1292, allocations: 35.8 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1293, allocations: 39.77 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1294, allocations: 4 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1295, allocations: 39.98 kB / 490 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.1296, allocations: 27.86 kB / 490 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.1297, allocations: 35.69 kB / 490 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.13, allocations: 135.9 kB / 490.2 MB, free: 9.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.13, allocations: 3.938 kB / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.13, allocations: 3.938 kB / 490.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.13, allocations: 0 / 490.2 MB, free: 9.348 MB / 378.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.0007114/0.1307, allocations: 438.3 kB / 490.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1308, allocations: 8.031 kB / 490.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.1308, allocations: 12.84 kB / 490.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1311, allocations: 215.8 kB / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1311, allocations: 384 / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1311, allocations: 12.12 kB / 490.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.1313, allocations: 53.67 kB / 490.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1313, allocations: 3.984 kB / 490.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.1313, allocations: 3.938 kB / 490.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1314, allocations: 4 kB / 490.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.1314, allocations: 15.98 kB / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1318, allocations: 300.8 kB / 491.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.132, allocations: 62.67 kB / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.1321, allocations: 20.8 kB / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1321, allocations: 0 / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.1324, allocations: 67.38 kB / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1324, allocations: 0 / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006336/0.133, allocations: 185.1 kB / 491.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1331, allocations: 55.34 kB / 491.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.1333, allocations: 259.7 kB / 491.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1333, allocations: 29.7 kB / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1334, allocations: 112.1 kB / 492 MB, free: 7.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1334, allocations: 27.64 kB / 492 MB, free: 7.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1335, allocations: 17.72 kB / 492 MB, free: 7.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1336, allocations: 338.8 kB / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.1337, allocations: 16 kB / 492.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.1338, allocations: 41.64 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1339, allocations: 69.69 kB / 492.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1339, allocations: 0 / 492.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.1341, allocations: 101.4 kB / 492.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1341, allocations: 12.02 kB / 492.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1341, allocations: 0 / 492.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1341, allocations: 4 kB / 492.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.1342, allocations: 16 kB / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1342, allocations: 0 / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1343, allocations: 7.938 kB / 492.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1343, allocations: 3.984 kB / 492.6 MB, free: 6.648 MB / 378.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 0.0001081/0.1344, allocations: 133.8 kB / 492.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1345, allocations: 15.81 kB / 492.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.1345, allocations: 21.41 kB / 492.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1345, allocations: 3.938 kB / 492.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1345, allocations: 0 / 492.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1345, allocations: 7.922 kB / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.135, allocations: 399.3 kB / 493.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.135, allocations: 7.938 kB / 493.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1351, allocations: 11.97 kB / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1351, allocations: 4 kB / 493.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1351, allocations: 7.969 kB / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1351, allocations: 0 / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1351, allocations: 4 kB / 493.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.1357, allocations: 0.7831 MB / 494 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.1358, allocations: 88.92 kB / 494.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1358, allocations: 15.98 kB / 494.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.1359, allocations: 384 / 494.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1359, allocations: 7.938 kB / 494.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1359, allocations: 7.984 kB / 494.2 MB, free: 4.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1361, allocations: 203 kB / 494.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 0 / 494.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.1365, allocations: 24 kB / 494.4 MB, free: 4.77 MB / 378.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 (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.000959/0.1374, allocations: 473 kB / 494.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1376, allocations: 59.91 kB / 494.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1376, allocations: 4 kB / 494.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.1377, allocations: 39.97 kB / 494.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.138, allocations: 24.53 kB / 495 MB, free: 4.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.1385, allocations: 440.4 kB / 495.4 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1388, allocations: 0.7194 MB / 496.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.1389, allocations: 16.88 kB / 496.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.1389, allocations: 19.42 kB / 496.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1389, allocations: 4 kB / 496.2 MB, free: 2.973 MB / 378.7 MB Notification: Performance of Templates: time 0.003724/0.1426, allocations: 1.688 MB / 497.8 MB, free: 1.289 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches