Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, 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.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009982/0.0009982, allocations: 91.91 kB / 269.9 MB, free: 8.441 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.4201/0.4201, allocations: 43.48 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1296, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003193/0.1329, allocations: 1.76 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1342, allocations: 0.7885 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.1343, allocations: 0 / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1346, allocations: 35.83 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1348, allocations: 47.83 kB / 489.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.135, allocations: 75.84 kB / 489.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1352, allocations: 95.69 kB / 489.8 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1353, allocations: 20.2 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.1354, allocations: 39.78 kB / 489.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.1355, allocations: 27.84 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1355, allocations: 4 kB / 489.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.181e-05/0.1356, allocations: 39.94 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.1357, allocations: 23.91 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.1357, allocations: 31.73 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1359, allocations: 111.9 kB / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1359, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.136, allocations: 0 / 490.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.136, allocations: 4 kB / 490.1 MB, free: 9.422 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.0005849/0.1366, allocations: 411 kB / 490.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.1366, allocations: 8.031 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.1367, allocations: 12.84 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.1369, allocations: 212 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1369, allocations: 4.375 kB / 490.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.137, allocations: 8.109 kB / 490.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1371, allocations: 57.67 kB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1371, allocations: 4 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1372, allocations: 3.938 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.1372, allocations: 4 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.202e-05/0.1372, allocations: 19.92 kB / 490.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.1376, allocations: 284.9 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1378, allocations: 58.62 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.1379, allocations: 24.84 kB / 491.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1379, allocations: 0 / 491.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.1381, allocations: 67.3 kB / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1381, allocations: 0 / 491.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005243/0.1387, allocations: 165.3 kB / 491.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1387, allocations: 59.41 kB / 491.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.1389, allocations: 186.1 kB / 491.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1389, allocations: 29.7 kB / 491.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.139, allocations: 108 kB / 491.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.139, allocations: 23.7 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1391, allocations: 17.72 kB / 491.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1392, allocations: 326.8 kB / 492.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.1393, allocations: 23.98 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.1394, allocations: 37.7 kB / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.1395, allocations: 65.69 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1395, allocations: 0 / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001663/0.1397, allocations: 93.53 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1397, allocations: 4 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1397, allocations: 4 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1397, allocations: 0 / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.1398, allocations: 23.95 kB / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1398, allocations: 0 / 492.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.1399, allocations: 11.94 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1399, allocations: 4.156 kB / 492.4 MB, free: 6.867 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.0001125/0.14, allocations: 121.8 kB / 492.5 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.14, allocations: 7.906 kB / 492.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.1401, allocations: 16.7 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1401, allocations: 4.375 kB / 492.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1401, allocations: 7.984 kB / 492.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1401, allocations: 3.938 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1406, allocations: 399.2 kB / 493 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1406, allocations: 3.938 kB / 493 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.1406, allocations: 8 kB / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1407, allocations: 4.172 kB / 493 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1407, allocations: 7.938 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1407, allocations: 7.938 kB / 493 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1407, allocations: 4.031 kB / 493 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.1412, allocations: 0.7715 MB / 493.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.1413, allocations: 92.94 kB / 493.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.1413, allocations: 4 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.287e-05/0.1414, allocations: 4 kB / 493.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.1414, allocations: 11.98 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1414, allocations: 4 kB / 493.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1416, allocations: 140.1 kB / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1416, allocations: 0 / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.1419, allocations: 31.89 kB / 494.1 MB, free: 5.086 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.0009628/0.1429, allocations: 469 kB / 494.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1431, allocations: 63.83 kB / 494.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1431, allocations: 4 kB / 494.6 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.1432, allocations: 24 kB / 494.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1435, allocations: 36.45 kB / 494.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.1441, allocations: 368 kB / 495 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1444, allocations: 0.716 MB / 495.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.1445, allocations: 13.19 kB / 495.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1445, allocations: 19.42 kB / 495.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1445, allocations: 0 / 495.8 MB, free: 3.367 MB / 378.7 MB Notification: Performance of Templates: time 0.004085/0.1486, allocations: 1.661 MB / 497.4 MB, free: 1.711 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches