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.001672/0.001672, allocations: 96.81 kB / 16.99 MB, free: 5.941 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.002407/0.002407, allocations: 181.9 kB / 17.87 MB, free: 5.609 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.536/1.536, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2339/0.2339, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 11.98 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00235/0.1469, allocations: 1.359 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1483, allocations: 0.7725 MB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.1484, allocations: 0 / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1488, allocations: 63.73 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.149, allocations: 51.86 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1493, allocations: 83.41 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1494, allocations: 67.84 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.696e-05/0.1495, allocations: 4 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1496, allocations: 43.83 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1497, allocations: 35.84 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1498, allocations: 0 / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.1498, allocations: 19.94 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.1499, allocations: 19.91 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.15, allocations: 33.7 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1501, allocations: 76.11 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1502, allocations: 4 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.1502, allocations: 3.938 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1502, allocations: 3.938 kB / 474.1 MB, free: 11.07 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.0006182/0.1508, allocations: 387 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1508, allocations: 8.031 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.1509, allocations: 7.906 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1512, allocations: 202.9 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1512, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1512, allocations: 8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1514, allocations: 53.62 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1514, allocations: 0 / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1514, allocations: 0 / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1514, allocations: 4 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.1515, allocations: 15.94 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.1518, allocations: 185.5 kB / 474.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1519, allocations: 54.61 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.152, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.1522, allocations: 71.38 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1522, allocations: 0 / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000294/0.1525, allocations: 97.56 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1525, allocations: 51.41 kB / 475.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1528, allocations: 190.1 kB / 475.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1528, allocations: 29.7 kB / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.1529, allocations: 100.1 kB / 475.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1529, allocations: 11.81 kB / 475.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.1529, allocations: 4 kB / 475.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1531, allocations: 322.8 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.1531, allocations: 15.98 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.1532, allocations: 25.66 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.1532, allocations: 24.23 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1532, allocations: 0 / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001419/0.1534, allocations: 81.59 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1534, allocations: 4 kB / 476 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1534, allocations: 3.953 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1534, allocations: 0 / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.1535, allocations: 15.94 kB / 476 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1535, allocations: 3.984 kB / 476 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.1536, allocations: 4.031 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1536, allocations: 4 kB / 476 MB, free: 8.906 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 (7): * Single equations (assignments): 7 * 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 9.436e-05/0.1537, allocations: 118.4 kB / 476.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1537, allocations: 19.83 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.1538, allocations: 8.312 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.1538, allocations: 7.953 kB / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1538, allocations: 3.938 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1538, allocations: 0 / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1539, allocations: 185.5 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.154, allocations: 11.98 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.154, allocations: 0 / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.154, allocations: 4 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.154, allocations: 0 / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.154, allocations: 0 / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.154, allocations: 3.953 kB / 476.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1542, allocations: 109 kB / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.1542, allocations: 88.95 kB / 476.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1543, allocations: 8 kB / 476.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.1543, allocations: 7.984 kB / 476.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.1544, allocations: 3.953 kB / 476.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1544, allocations: 4 kB / 476.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1545, allocations: 139.2 kB / 476.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1545, allocations: 0 / 476.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.1548, allocations: 16 kB / 476.8 MB, free: 8.082 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 (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.0009334/0.1557, allocations: 410.2 kB / 477.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001593/0.1559, allocations: 43.92 kB / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1559, allocations: 0 / 477.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.945e-05/0.1559, allocations: 19.98 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.1562, allocations: 22.02 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.1566, allocations: 205.2 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1569, allocations: 0.7082 MB / 478.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.157, allocations: 8.797 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.157, allocations: 19.42 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.157, allocations: 0 / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of Templates: time 0.004756/0.1618, allocations: 1.374 MB / 479.6 MB, free: 5.395 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches