Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 106.3 kB / 17.21 MB, free: 6.27 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.001236/0.001236, allocations: 194 kB / 18.12 MB, free: 5.363 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.382/1.382, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2291/0.2291, allocations: 44.17 MB / 336.1 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.72 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1388, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003493/0.1423, allocations: 1.772 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1437, allocations: 0.8732 MB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.1438, allocations: 3.938 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.1442, allocations: 95.73 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1444, allocations: 63.8 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1447, allocations: 99.77 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1449, allocations: 103.7 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1451, allocations: 16 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.994e-05/0.1452, allocations: 51.77 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1453, allocations: 59.75 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1453, allocations: 7.984 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1454, allocations: 59.92 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.1455, allocations: 19.92 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.1456, allocations: 39.72 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.1458, allocations: 127.8 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1458, allocations: 4 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1458, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.1458, allocations: 0 / 471.9 MB, free: 11.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005545/0.1464, allocations: 434.9 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1464, allocations: 8.031 kB / 472.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.1465, allocations: 16.75 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1467, allocations: 220.5 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1467, allocations: 384 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.1468, allocations: 8.125 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1469, allocations: 61.67 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.147, allocations: 3.906 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.147, allocations: 4 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.147, allocations: 0 / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.1471, allocations: 23.97 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.1475, allocations: 308.7 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1478, allocations: 62.5 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.1479, allocations: 24.97 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.1479, allocations: 0 / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.1481, allocations: 71.33 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1481, allocations: 0 / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007615/0.1489, allocations: 241.1 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1489, allocations: 59.28 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1491, allocations: 226.7 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1492, allocations: 29.7 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.1493, allocations: 112 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1493, allocations: 35.55 kB / 473.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.1493, allocations: 25.72 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1495, allocations: 326.8 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.1496, allocations: 31.98 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.1496, allocations: 41.7 kB / 474.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1498, allocations: 81.64 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1498, allocations: 0 / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002139/0.15, allocations: 129.4 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.15, allocations: 11.94 kB / 474.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1501, allocations: 4.031 kB / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1501, allocations: 0 / 474.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.1501, allocations: 19.98 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1502, allocations: 7.938 kB / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.1502, allocations: 4 kB / 474.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1502, allocations: 4 kB / 474.5 MB, free: 8.605 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 (13): * Single equations (assignments): 13 * 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.0001112/0.1503, allocations: 129.8 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1504, allocations: 19.81 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.1504, allocations: 26.09 kB / 474.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1504, allocations: 3.938 kB / 474.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1505, allocations: 3.938 kB / 474.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.1505, allocations: 3.984 kB / 474.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.151, allocations: 448.1 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.151, allocations: 0 / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.151, allocations: 19.94 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.151, allocations: 4.062 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.151, allocations: 4 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1511, allocations: 96 / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1511, allocations: 3.938 kB / 475.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.1513, allocations: 240.9 kB / 475.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.1514, allocations: 89.02 kB / 475.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1514, allocations: 4 kB / 475.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1515, allocations: 7.984 kB / 475.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1515, allocations: 4 kB / 475.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1516, allocations: 11.98 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.1518, allocations: 168.3 kB / 475.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1518, allocations: 0 / 475.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1521, allocations: 39.89 kB / 475.7 MB, free: 7.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001126/0.1532, allocations: 0.508 MB / 476.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1534, allocations: 79.91 kB / 476.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1534, allocations: 0 / 476.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.1535, allocations: 43.92 kB / 476.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1539, allocations: 24.14 kB / 476.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.1544, allocations: 318.5 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1547, allocations: 0.7236 MB / 477.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.1547, allocations: 20.62 kB / 477.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.1548, allocations: 19.44 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1548, allocations: 0 / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of Templates: time 0.004733/0.1595, allocations: 1.89 MB / 479.3 MB, free: 3.84 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches