Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.001514/0.001514, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.423/1.423, allocations: 223.3 MB / 243 MB, free: 14.27 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.2032/0.2032, allocations: 44.25 MB / 338.3 MB, free: 2.355 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.0005345, allocations: 11.94 kB / 411 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1372, allocations: 61.92 MB / 472.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002733/0.14, allocations: 1.604 MB / 474.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1416, allocations: 0.9435 MB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1417, allocations: 3.938 kB / 475.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.1421, allocations: 151.6 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.1424, allocations: 119.6 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.1429, allocations: 166.3 kB / 475.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.1433, allocations: 219.3 kB / 476.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1434, allocations: 25.67 kB / 476.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1436, allocations: 95.55 kB / 476.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1438, allocations: 127.5 kB / 476.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1438, allocations: 4 kB / 476.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.144, allocations: 59.91 kB / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.819e-05/0.144, allocations: 47.83 kB / 476.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1442, allocations: 109.1 kB / 476.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1444, allocations: 151.9 kB / 476.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1444, allocations: 0 / 476.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1444, allocations: 0 / 476.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1444, allocations: 0 / 476.7 MB, free: 9.434 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.0006704/0.1451, allocations: 0.4972 MB / 477.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1451, allocations: 8.031 kB / 477.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.1452, allocations: 24.66 kB / 477.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1455, allocations: 271.5 kB / 477.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1455, allocations: 4.375 kB / 477.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1456, allocations: 16.03 kB / 477.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1458, allocations: 114.4 kB / 477.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1458, allocations: 4 kB / 477.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1459, allocations: 0 / 477.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1459, allocations: 0 / 477.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.146, allocations: 55.89 kB / 477.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.1466, allocations: 464.7 kB / 478.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.1469, allocations: 121.2 kB / 478.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.147, allocations: 41.83 kB / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1471, allocations: 0 / 478.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1473, allocations: 129.1 kB / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1473, allocations: 0 / 478.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001266/0.1486, allocations: 484.9 kB / 478.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.1487, allocations: 85.11 kB / 479 MB, free: 6.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.1491, allocations: 355 kB / 479.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1491, allocations: 33.7 kB / 479.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1492, allocations: 136.6 kB / 479.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.1493, allocations: 71 kB / 479.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.1493, allocations: 25.7 kB / 479.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1495, allocations: 338.8 kB / 479.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1496, allocations: 55.97 kB / 480 MB, free: 5.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1498, allocations: 103.3 kB / 480.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.15, allocations: 163.4 kB / 480.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1501, allocations: 0 / 480.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000385/0.1504, allocations: 225.2 kB / 480.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1505, allocations: 7.938 kB / 480.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1505, allocations: 0 / 480.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1505, allocations: 4 kB / 480.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1506, allocations: 47.91 kB / 480.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1507, allocations: 0 / 480.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.1507, allocations: 19.84 kB / 480.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1508, allocations: 12 kB / 480.6 MB, free: 5.309 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.0001488/0.1509, allocations: 162.3 kB / 480.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.151, allocations: 27.66 kB / 480.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.151, allocations: 37.73 kB / 480.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.151, allocations: 0 / 480.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1511, allocations: 4 kB / 480.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1511, allocations: 0 / 480.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.152, allocations: 0.7232 MB / 481.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.152, allocations: 0 / 481.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.1521, allocations: 31.97 kB / 481.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1521, allocations: 4 kB / 481.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1521, allocations: 8 kB / 481.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.1521, allocations: 4 kB / 481.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1521, allocations: 4.062 kB / 481.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.1526, allocations: 417.7 kB / 482 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.564e-05/0.1526, allocations: 112.8 kB / 482.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1527, allocations: 8 kB / 482.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1528, allocations: 19.92 kB / 482.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1529, allocations: 15.92 kB / 482.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.1529, allocations: 12 kB / 482.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002466/0.1532, allocations: 261.9 kB / 482.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1532, allocations: 0 / 482.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000349/0.1535, allocations: 51.98 kB / 482.4 MB, free: 3.301 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.001213/0.1548, allocations: 0.5096 MB / 483 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1551, allocations: 159.8 kB / 483.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1551, allocations: 0 / 483.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.1553, allocations: 79.84 kB / 483.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.1558, allocations: 69.09 kB / 483.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.1567, allocations: 0.5678 MB / 483.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.157, allocations: 0.7677 MB / 484.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.1571, allocations: 27.44 kB / 484.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1571, allocations: 4 kB / 484.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of Templates: time 0.005772/0.1629, allocations: 3.45 MB / 488.1 MB, free: 13.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches