Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001186, 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.478/1.478, allocations: 205.1 MB / 222.5 MB, free: 8.484 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.0009758/0.0009758, allocations: 96.05 kB / 269.9 MB, free: 8.438 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.3332/0.3332, allocations: 43.48 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.005262/0.1283, allocations: 1.979 MB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1304, allocations: 0.8235 MB / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1305, allocations: 0 / 489.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.1309, allocations: 39.77 kB / 489.9 MB, free: 9.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1312, allocations: 47.77 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1315, allocations: 95.77 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.1318, allocations: 131.5 kB / 490.1 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.132, allocations: 33.75 kB / 490.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1321, allocations: 55.72 kB / 490.2 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.1322, allocations: 47.7 kB / 490.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1322, allocations: 4 kB / 490.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1324, allocations: 47.92 kB / 490.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.1324, allocations: 19.92 kB / 490.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.08e-05/0.1325, allocations: 51.61 kB / 490.4 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1328, allocations: 143.5 kB / 490.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1328, allocations: 0 / 490.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1329, allocations: 0 / 490.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1329, allocations: 0 / 490.5 MB, free: 9.008 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007605/0.1336, allocations: 480.5 kB / 491 MB, free: 8.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1337, allocations: 8.031 kB / 491 MB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.1338, allocations: 20.69 kB / 491 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1341, allocations: 212.1 kB / 491.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1341, allocations: 16.36 kB / 491.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1342, allocations: 8.125 kB / 491.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.1345, allocations: 104.2 kB / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1345, allocations: 3.984 kB / 491.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.1346, allocations: 7.984 kB / 491.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1346, allocations: 0 / 491.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1348, allocations: 47.97 kB / 491.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.1356, allocations: 0.5086 MB / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.1361, allocations: 102.5 kB / 492 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.1363, allocations: 36.84 kB / 492.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1363, allocations: 0 / 492.1 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.1367, allocations: 79.38 kB / 492.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.1367, allocations: 0 / 492.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005504/0.1372, allocations: 145.7 kB / 492.3 MB, free: 7.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.1373, allocations: 59.34 kB / 492.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.1376, allocations: 191.5 kB / 492.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1377, allocations: 25.7 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1378, allocations: 119.9 kB / 492.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.1378, allocations: 23.7 kB / 492.7 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.1379, allocations: 29.7 kB / 492.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1381, allocations: 330.8 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1383, allocations: 31.92 kB / 493.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1384, allocations: 60.27 kB / 493.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.1388, allocations: 104.2 kB / 493.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1388, allocations: 0 / 493.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004284/0.1393, allocations: 137.3 kB / 493.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1393, allocations: 4 kB / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1393, allocations: 8.125 kB / 493.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1393, allocations: 0 / 493.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1395, allocations: 31.86 kB / 493.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1395, allocations: 0 / 493.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.1396, allocations: 15.84 kB / 493.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1396, allocations: 4 kB / 493.4 MB, free: 5.824 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001133/0.1398, allocations: 129.8 kB / 493.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.1398, allocations: 11.81 kB / 493.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.1399, allocations: 17.41 kB / 493.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.1399, allocations: 7.938 kB / 493.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1399, allocations: 0 / 493.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1399, allocations: 7.922 kB / 493.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1401, allocations: 205.8 kB / 493.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1401, allocations: 0 / 493.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.1402, allocations: 15.94 kB / 493.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1403, allocations: 4 kB / 493.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1403, allocations: 0 / 493.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1403, allocations: 7.875 kB / 493.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1403, allocations: 0 / 493.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.1424, allocations: 1.417 MB / 495.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.1425, allocations: 92.89 kB / 495.3 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1425, allocations: 4 kB / 495.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.1426, allocations: 11.98 kB / 495.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1426, allocations: 3.984 kB / 495.3 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1427, allocations: 8 kB / 495.4 MB, free: 3.648 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1428, allocations: 141.2 kB / 495.5 MB, free: 3.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1428, allocations: 0 / 495.5 MB, free: 3.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.1433, allocations: 36.19 kB / 495.5 MB, free: 3.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.0008226/0.1441, allocations: 422.2 kB / 495.9 MB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.1444, allocations: 79.83 kB / 496 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1444, allocations: 4 kB / 496 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.1445, allocations: 31.98 kB / 496.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.1448, allocations: 40.77 kB / 496.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.1454, allocations: 432.2 kB / 496.5 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1457, allocations: 0.7163 MB / 497.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.961e-05/0.1458, allocations: 25.41 kB / 497.3 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.1458, allocations: 19.44 kB / 497.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1458, allocations: 0 / 497.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of Templates: time 0.004395/0.1502, allocations: 1.864 MB / 499.1 MB, free: 15.85 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches