Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 95.34 kB / 17.35 MB, free: 6.375 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.001345/0.001345, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.495/1.495, allocations: 223.3 MB / 242.3 MB, free: 268 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.2493/0.2493, allocations: 44.25 MB / 337.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 11.94 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 61.92 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002269/0.1447, allocations: 1.371 MB / 473.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1461, allocations: 0.8265 MB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1462, allocations: 4 kB / 474.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1465, allocations: 55.86 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1467, allocations: 59.8 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.147, allocations: 95.02 kB / 474.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1471, allocations: 87.7 kB / 474.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/0.1472, allocations: 7.984 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.183e-05/0.1473, allocations: 39.84 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.1474, allocations: 43.78 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1474, allocations: 4 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.1475, allocations: 35.97 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1476, allocations: 15.92 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.1476, allocations: 57.45 kB / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1478, allocations: 99.91 kB / 475.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1478, allocations: 0 / 475.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1478, allocations: 0 / 475.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1479, allocations: 0 / 475.1 MB, free: 10.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005424/0.1484, allocations: 387.2 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1485, allocations: 15.97 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.1485, allocations: 8.844 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1487, allocations: 204.1 kB / 475.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.1488, allocations: 4.375 kB / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1488, allocations: 4.125 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1489, allocations: 49.67 kB / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.149, allocations: 0 / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.149, allocations: 0 / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.149, allocations: 0 / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.1491, allocations: 19.98 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.1493, allocations: 185.5 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.1495, allocations: 54.55 kB / 476 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.1495, allocations: 28.8 kB / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1496, allocations: 0 / 476 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1497, allocations: 67.39 kB / 476.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.1498, allocations: 3.938 kB / 476.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002701/0.15, allocations: 93.52 kB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1501, allocations: 59.39 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.1503, allocations: 186.1 kB / 476.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1503, allocations: 25.7 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.1503, allocations: 104.1 kB / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.1504, allocations: 15.81 kB / 476.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.1504, allocations: 13.72 kB / 476.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1505, allocations: 322.8 kB / 476.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.1506, allocations: 15.98 kB / 476.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.1507, allocations: 33.7 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.1508, allocations: 37.72 kB / 477 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1508, allocations: 3.938 kB / 477 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001589/0.1509, allocations: 93.52 kB / 477 MB, free: 8.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.151, allocations: 4 kB / 477.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.151, allocations: 0 / 477.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.151, allocations: 0 / 477.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.1511, allocations: 15.94 kB / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1511, allocations: 0 / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.1511, allocations: 0 / 477.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1511, allocations: 7.984 kB / 477.1 MB, free: 8.309 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 (7): * Single equations (assignments): 7 * 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 9.244e-05/0.1512, allocations: 129.8 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.1513, allocations: 7.906 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1513, allocations: 16.3 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1513, allocations: 4 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1513, allocations: 0 / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1513, allocations: 0 / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.1515, allocations: 189.4 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1515, allocations: 4 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.71e-05/0.1515, allocations: 0 / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.1515, allocations: 4.312 kB / 477.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1515, allocations: 7.984 kB / 477.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1515, allocations: 4 kB / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1515, allocations: 0 / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.1517, allocations: 112.9 kB / 477.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.1518, allocations: 88.95 kB / 477.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1518, allocations: 3.938 kB / 477.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.1519, allocations: 8 kB / 477.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1519, allocations: 7.984 kB / 477.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1519, allocations: 4 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1521, allocations: 139.2 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1521, allocations: 0 / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1523, allocations: 16 kB / 477.8 MB, free: 7.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009694/0.1533, allocations: 408.4 kB / 478.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1534, allocations: 39.92 kB / 478.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1535, allocations: 4.062 kB / 478.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.1535, allocations: 23.98 kB / 478.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1538, allocations: 23.92 kB / 478.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.1542, allocations: 224.9 kB / 478.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1545, allocations: 0.6965 MB / 479.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.1545, allocations: 16.53 kB / 479.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.1546, allocations: 19.44 kB / 479.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1546, allocations: 0 / 479.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of Templates: time 0.003966/0.1585, allocations: 1.407 MB / 480.7 MB, free: 4.742 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches