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.001052/0.001052, allocations: 101.1 kB / 17.01 MB, free: 6.391 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.001139/0.001139, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.451/1.451, allocations: 223.3 MB / 241.9 MB, free: 336 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.2364/0.2364, allocations: 44.25 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 13.16 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002287/0.1453, allocations: 1.382 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1468, allocations: 0.8075 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1469, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1473, allocations: 31.91 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1475, allocations: 47.77 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.1479, allocations: 91.45 kB / 474 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1482, allocations: 83.7 kB / 474.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1483, allocations: 16.2 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1484, allocations: 35.8 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.1485, allocations: 27.86 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1485, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1486, allocations: 35.97 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.1487, allocations: 15.92 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.1488, allocations: 37.64 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1489, allocations: 80.11 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.149, allocations: 4 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.149, allocations: 0 / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.149, allocations: 0 / 474.3 MB, free: 10.99 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.000625/0.1496, allocations: 405.1 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1497, allocations: 8.031 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1497, allocations: 7.906 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.15, allocations: 194.9 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.15, allocations: 0 / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.15, allocations: 8 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1502, allocations: 61.56 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1502, allocations: 3.984 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1503, allocations: 4 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1503, allocations: 0 / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.1503, allocations: 19.98 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.1508, allocations: 288.8 kB / 475.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.151, allocations: 66.61 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.151, allocations: 16.86 kB / 475.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1511, allocations: 7.984 kB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1513, allocations: 63.39 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1513, allocations: 0 / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005985/0.1519, allocations: 173.5 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.152, allocations: 59.39 kB / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.1522, allocations: 168.5 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1522, allocations: 25.7 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.1523, allocations: 104 kB / 476 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.1523, allocations: 19.75 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.1523, allocations: 4 kB / 476 MB, free: 9.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1525, allocations: 326.8 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.1525, allocations: 23.98 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.1526, allocations: 37.64 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.949e-05/0.1527, allocations: 23.94 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1527, allocations: 0 / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001819/0.1529, allocations: 101.5 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1529, allocations: 10.48 kB / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1529, allocations: 0 / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1529, allocations: 3.969 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.153, allocations: 20 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1531, allocations: 0 / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.1531, allocations: 4 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1532, allocations: 8.172 kB / 476.5 MB, free: 8.547 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.1533, allocations: 122.3 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1533, allocations: 15.84 kB / 476.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.1534, allocations: 16.86 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1534, allocations: 4 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1539, allocations: 395.3 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1539, allocations: 4 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.154, allocations: 7.938 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.154, allocations: 4 kB / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.154, allocations: 0 / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.154, allocations: 3.984 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.154, allocations: 8.031 kB / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1543, allocations: 204.1 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1543, allocations: 85.02 kB / 477.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1543, allocations: 8 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1544, allocations: 3.984 kB / 477.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1545, allocations: 4 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1545, allocations: 8 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1546, allocations: 142.8 kB / 477.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.086e-06/0.1546, allocations: 0 / 477.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1549, allocations: 27.94 kB / 477.6 MB, free: 7.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001152/0.1561, allocations: 458.4 kB / 478 MB, free: 7.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1563, allocations: 55.97 kB / 478.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1563, allocations: 0 / 478.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.1564, allocations: 27.92 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1567, allocations: 35.88 kB / 478.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005329/0.1573, allocations: 233.9 kB / 478.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1576, allocations: 0.7043 MB / 479.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.301e-05/0.1577, allocations: 25.11 kB / 479.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.1577, allocations: 19.38 kB / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1577, allocations: 0 / 479.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Templates: time 0.004814/0.1626, allocations: 1.577 MB / 480.7 MB, free: 4.41 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