Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.00128/0.001281, allocations: 171.3 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2148/0.2148, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003044, allocations: 13.34 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.0022/0.1299, allocations: 1.425 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1312, allocations: 0.8344 MB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.1313, allocations: 3.938 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1315, allocations: 27.89 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1317, allocations: 47.83 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.132, allocations: 94.14 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1321, allocations: 99.69 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.1322, allocations: 4.234 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.1323, allocations: 39.8 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/0.1324, allocations: 31.83 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1324, allocations: 0 / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.1325, allocations: 43.92 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.1326, allocations: 19.92 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.1326, allocations: 49.52 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1328, allocations: 111.9 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1328, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1329, allocations: 3.938 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1329, allocations: 4 kB / 475.1 MB, free: 10.5 MB / 350.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.0004955/0.1334, allocations: 391.1 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1334, allocations: 12.03 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.1335, allocations: 12.83 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1337, allocations: 204.1 kB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1337, allocations: 12.36 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1338, allocations: 4.125 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1339, allocations: 53.67 kB / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1339, allocations: 0 / 475.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.134, allocations: 4 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.134, allocations: 0 / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.134, allocations: 15.98 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1344, allocations: 288.8 kB / 476.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1346, allocations: 62.62 kB / 476.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1347, allocations: 20.84 kB / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1347, allocations: 4 kB / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.1349, allocations: 71.3 kB / 476.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1349, allocations: 4 kB / 476.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005361/0.1355, allocations: 169.3 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1355, allocations: 55.41 kB / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1357, allocations: 172.5 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1357, allocations: 25.7 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.1358, allocations: 104.1 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.1358, allocations: 27.64 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.1359, allocations: 13.72 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.136, allocations: 334.8 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.984e-05/0.1361, allocations: 12 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.1361, allocations: 37.7 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1363, allocations: 57.7 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1363, allocations: 0 / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.1365, allocations: 105.4 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1365, allocations: 8.031 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1365, allocations: 0 / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1365, allocations: 0 / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.1366, allocations: 19.94 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.1366, allocations: 4.125 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.1367, allocations: 15.92 kB / 477.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1367, allocations: 3.938 kB / 477.4 MB, free: 7.984 MB / 350.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 0.0001067/0.1368, allocations: 117.8 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.1368, allocations: 11.91 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.1369, allocations: 20.7 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1369, allocations: 0 / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1369, allocations: 0 / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1369, allocations: 3.938 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.1373, allocations: 387.3 kB / 477.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1373, allocations: 4 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.1374, allocations: 4 kB / 477.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1374, allocations: 8.031 kB / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1374, allocations: 7.922 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1374, allocations: 0 / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1374, allocations: 4.375 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1377, allocations: 208.4 kB / 478.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.1377, allocations: 85.02 kB / 478.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1378, allocations: 7.938 kB / 478.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.1378, allocations: 11.98 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1379, allocations: 7.984 kB / 478.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1379, allocations: 7.984 kB / 478.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.994e-05/0.138, allocations: 135.1 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.138, allocations: 0 / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.1383, allocations: 20 kB / 478.4 MB, free: 6.844 MB / 350.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.001024/0.1393, allocations: 470.8 kB / 478.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.1395, allocations: 59.91 kB / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1395, allocations: 0 / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.1396, allocations: 39.86 kB / 479 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1399, allocations: 27.77 kB / 479 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.1403, allocations: 233.9 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1407, allocations: 0.7043 MB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.1407, allocations: 13.19 kB / 479.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1408, allocations: 19.44 kB / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1408, allocations: 0 / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Templates: time 0.004328/0.1451, allocations: 1.619 MB / 481.6 MB, free: 3.812 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches