Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001434, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001648/0.001648, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.398/1.398, allocations: 222.9 MB / 242.2 MB, free: 15.2 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.2278/0.2278, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.83 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1249, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00389/0.1289, allocations: 1.878 MB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1307, allocations: 0.9977 MB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1308, allocations: 7.938 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.1313, allocations: 247.4 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.1317, allocations: 187.4 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.1322, allocations: 175.5 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.1325, allocations: 259.3 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1326, allocations: 25.67 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.1328, allocations: 127.6 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.133, allocations: 187.4 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.1331, allocations: 8 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.1332, allocations: 55.98 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1334, allocations: 63.75 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1335, allocations: 95.23 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1339, allocations: 247.4 kB / 473.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1339, allocations: 4 kB / 473.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1339, allocations: 0 / 473.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1339, allocations: 0 / 473.8 MB, free: 9.805 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.0008538/0.1348, allocations: 0.5603 MB / 474.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1348, allocations: 8.031 kB / 474.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.1349, allocations: 32.56 kB / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1352, allocations: 288 kB / 474.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.1352, allocations: 4.375 kB / 474.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1353, allocations: 16.12 kB / 474.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1355, allocations: 103.3 kB / 474.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1355, allocations: 4 kB / 474.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.1356, allocations: 7.938 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1356, allocations: 0 / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.1357, allocations: 55.89 kB / 474.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.1363, allocations: 480.8 kB / 475.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/0.1367, allocations: 121.2 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1368, allocations: 45.83 kB / 475.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1369, allocations: 0 / 475.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/0.1372, allocations: 123.6 kB / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1372, allocations: 0 / 475.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001371/0.1386, allocations: 0.5045 MB / 476.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1387, allocations: 85.05 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.1392, allocations: 481.6 kB / 476.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.1392, allocations: 33.7 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1393, allocations: 164.5 kB / 476.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.1394, allocations: 70.98 kB / 476.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.1395, allocations: 41.7 kB / 477 MB, free: 6.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1397, allocations: 350.8 kB / 477.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.1399, allocations: 59.91 kB / 477.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.14, allocations: 91.34 kB / 477.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1403, allocations: 163.3 kB / 477.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1403, allocations: 0 / 477.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004079/0.1408, allocations: 229.4 kB / 477.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1408, allocations: 11.94 kB / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1408, allocations: 0 / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1408, allocations: 7.984 kB / 477.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.141, allocations: 43.91 kB / 477.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.141, allocations: 4 kB / 477.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.1411, allocations: 12.06 kB / 477.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1411, allocations: 8 kB / 477.9 MB, free: 5.379 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.0002613/0.1414, allocations: 177.7 kB / 478.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.1414, allocations: 39.47 kB / 478.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/0.1415, allocations: 38.81 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1415, allocations: 7.938 kB / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1416, allocations: 0 / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1416, allocations: 4 kB / 478.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/0.1425, allocations: 0.7311 MB / 478.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.1425, allocations: 4 kB / 478.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.1426, allocations: 31.98 kB / 479 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1426, allocations: 0 / 479 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1426, allocations: 8.125 kB / 479 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1426, allocations: 11.92 kB / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1426, allocations: 0 / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.1431, allocations: 423.3 kB / 479.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1431, allocations: 108.9 kB / 479.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.1432, allocations: 8 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1433, allocations: 7.938 kB / 479.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.1434, allocations: 23.91 kB / 479.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1434, allocations: 12 kB / 479.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000355/0.1438, allocations: 363.1 kB / 479.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1438, allocations: 4 kB / 479.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1441, allocations: 48 kB / 480 MB, free: 3.227 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.001244/0.1454, allocations: 0.5192 MB / 480.5 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.1458, allocations: 159.8 kB / 480.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1458, allocations: 0 / 480.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.146, allocations: 84.09 kB / 480.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.1465, allocations: 65.31 kB / 480.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.1473, allocations: 0.5903 MB / 481.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.1476, allocations: 0.7831 MB / 482.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1478, allocations: 41.92 kB / 482.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1478, allocations: 27.42 kB / 482.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1478, allocations: 0 / 482.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of Templates: time 0.006286/0.1541, allocations: 3.136 MB / 485.4 MB, free: 14 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches