Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 110 kB / 18.3 MB, free: 4.84 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.001751/0.001751, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.4/1.4, allocations: 222.9 MB / 242.9 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.204/0.204, allocations: 44.18 MB / 337.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.14 kB / 409.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1195, allocations: 60.82 MB / 469.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003099/0.1227, allocations: 1.874 MB / 471.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1242, allocations: 0.9977 MB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.1243, allocations: 7.938 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.1247, allocations: 151.5 kB / 473 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.125, allocations: 131.5 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.1254, allocations: 179.2 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.1257, allocations: 231.3 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1258, allocations: 29.66 kB / 473.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1259, allocations: 103.6 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1261, allocations: 135.5 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1261, allocations: 8 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1263, allocations: 59.98 kB / 473.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.1264, allocations: 51.81 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.1264, allocations: 75.42 kB / 473.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1267, allocations: 215.5 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1267, allocations: 0 / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1267, allocations: 0 / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1267, allocations: 3.938 kB / 474.2 MB, free: 10.1 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000685/0.1274, allocations: 0.5333 MB / 474.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1275, allocations: 8.031 kB / 474.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.1275, allocations: 24.66 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1278, allocations: 267.5 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1278, allocations: 12.36 kB / 475 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1279, allocations: 12.12 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1281, allocations: 107.3 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1281, allocations: 0 / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1282, allocations: 8 kB / 475.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1282, allocations: 4 kB / 475.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1283, allocations: 43.91 kB / 475.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.1289, allocations: 464.7 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.1292, allocations: 121.2 kB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1294, allocations: 49.81 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1294, allocations: 0 / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.1297, allocations: 129.1 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1297, allocations: 0 / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001296/0.131, allocations: 484.2 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.1311, allocations: 85.11 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.1314, allocations: 347 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1314, allocations: 37.7 kB / 476.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1316, allocations: 144.5 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.1316, allocations: 71.09 kB / 477.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.1317, allocations: 41.64 kB / 477.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1318, allocations: 338.8 kB / 477.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.132, allocations: 59.97 kB / 477.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1321, allocations: 95.34 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1324, allocations: 159.5 kB / 477.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1324, allocations: 3.938 kB / 477.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004217/0.1328, allocations: 225.2 kB / 478 MB, free: 6.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1328, allocations: 11.94 kB / 478 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1329, allocations: 4.062 kB / 478 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1329, allocations: 3.984 kB / 478 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.133, allocations: 47.91 kB / 478 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1331, allocations: 4 kB / 478 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.1331, allocations: 8 kB / 478 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1332, allocations: 8 kB / 478 MB, free: 5.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001565/0.1333, allocations: 157.8 kB / 478.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1334, allocations: 35.56 kB / 478.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.1335, allocations: 33.73 kB / 478.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1335, allocations: 4 kB / 478.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1335, allocations: 3.938 kB / 478.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1335, allocations: 0 / 478.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000903/0.1344, allocations: 0.7232 MB / 479 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1344, allocations: 4 kB / 479 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.1345, allocations: 35.98 kB / 479 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1345, allocations: 0 / 479 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1346, allocations: 4 kB / 479 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1346, allocations: 7.938 kB / 479.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1346, allocations: 0 / 479.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.1351, allocations: 417.9 kB / 479.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.1351, allocations: 100.8 kB / 479.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.1352, allocations: 11.98 kB / 479.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1353, allocations: 4 kB / 479.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.1354, allocations: 31.91 kB / 479.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.1354, allocations: 8 kB / 479.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002687/0.1357, allocations: 265.9 kB / 479.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1357, allocations: 0 / 479.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.1361, allocations: 47.91 kB / 479.9 MB, free: 3.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001285/0.1374, allocations: 0.5162 MB / 480.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.1379, allocations: 167.8 kB / 480.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1379, allocations: 0 / 480.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.1381, allocations: 79.84 kB / 480.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.1386, allocations: 69.22 kB / 480.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.1396, allocations: 0.5182 MB / 481.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.14, allocations: 0.7636 MB / 482 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.1401, allocations: 23.44 kB / 482 MB, free: 1.934 MB / 350.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1401, allocations: 0 / 482 MB, free: 1.934 MB / 350.1 MB Notification: Performance of Templates: time 0.006425/0.1465, allocations: 3.501 MB / 485.5 MB, free: 14.45 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches