Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 96.53 kB / 16.98 MB, free: 5.938 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.001152/0.001152, allocations: 188.5 kB / 17.88 MB, free: 5.594 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.453/1.453, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2075/0.2075, allocations: 44.23 MB / 337.1 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003627, allocations: 8 kB / 409.5 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 61.92 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002108/0.144, allocations: 1.391 MB / 472.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1453, allocations: 0.7881 MB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1454, allocations: 0 / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1456, allocations: 35.78 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1459, allocations: 39.88 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1462, allocations: 91.77 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1464, allocations: 67.78 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.1464, allocations: 12.22 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.1465, allocations: 31.86 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.1466, allocations: 27.84 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1466, allocations: 4 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.1467, allocations: 27.98 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.1468, allocations: 15.92 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.1468, allocations: 37.62 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.147, allocations: 76.12 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.147, allocations: 0 / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.147e-06/0.147, allocations: 7.984 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.147, allocations: 3.938 kB / 474.1 MB, free: 11.02 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.0005144/0.1475, allocations: 383 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1476, allocations: 8.031 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1476, allocations: 7.906 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1479, allocations: 197.9 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1479, allocations: 7.984 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1479, allocations: 4 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1481, allocations: 61.56 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1481, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1481, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1481, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.1482, allocations: 15.98 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.1485, allocations: 280.9 kB / 475.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1487, allocations: 58.62 kB / 475.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1487, allocations: 0 / 475.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.1489, allocations: 67.52 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1489, allocations: 0 / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005725/0.1495, allocations: 173.1 kB / 475.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1496, allocations: 63.34 kB / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1497, allocations: 159 kB / 475.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1497, allocations: 25.7 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.415e-05/0.1498, allocations: 104.1 kB / 475.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1499, allocations: 27.64 kB / 475.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1499, allocations: 0 / 475.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.15, allocations: 326.8 kB / 476 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1501, allocations: 19.98 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/0.1502, allocations: 41.64 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.1502, allocations: 27.95 kB / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1502, allocations: 0 / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001741/0.1504, allocations: 93.58 kB / 476.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1504, allocations: 8 kB / 476.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1504, allocations: 0 / 476.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1505, allocations: 0 / 476.2 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.1506, allocations: 15.94 kB / 476.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1506, allocations: 7.984 kB / 476.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1506, allocations: 4.031 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1506, allocations: 8 kB / 476.3 MB, free: 8.641 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.0001173/0.1508, allocations: 122.3 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.1508, allocations: 7.906 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.1509, allocations: 16.7 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1509, allocations: 384 / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1509, allocations: 0 / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1509, allocations: 0 / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.1515, allocations: 403.3 kB / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1515, allocations: 0 / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.1516, allocations: 11.94 kB / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1516, allocations: 4 kB / 476.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1516, allocations: 3.984 kB / 476.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1516, allocations: 0 / 476.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1516, allocations: 4.078 kB / 476.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1518, allocations: 218 kB / 477 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1519, allocations: 85.02 kB / 477.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1519, allocations: 8 kB / 477.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.25e-05/0.152, allocations: 3.984 kB / 477.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1521, allocations: 4.188 kB / 477.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.1521, allocations: 4 kB / 477.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1522, allocations: 133.2 kB / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1522, allocations: 3.938 kB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1525, allocations: 23.95 kB / 477.3 MB, free: 7.492 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.001151/0.1537, allocations: 470.2 kB / 477.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1539, allocations: 55.95 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1539, allocations: 0 / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.154, allocations: 31.94 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1543, allocations: 25.66 kB / 477.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005133/0.1548, allocations: 222 kB / 478.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1552, allocations: 0.7004 MB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.706e-05/0.1553, allocations: 21.17 kB / 478.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1553, allocations: 19.38 kB / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1553, allocations: 0 / 478.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Templates: time 0.004961/0.1603, allocations: 1.571 MB / 480.4 MB, free: 4.531 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches