Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001164, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 100.8 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3891/0.3891, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009543/0.0009543, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1254, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003318/0.1288, allocations: 1.723 MB / 488.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.13, allocations: 0.774 MB / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.1301, allocations: 0 / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.1304, allocations: 59.86 kB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.1307, allocations: 51.81 kB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.1309, allocations: 75.84 kB / 489.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1311, allocations: 91.7 kB / 489.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.598e-05/0.1311, allocations: 7.984 kB / 489.8 MB, free: 9.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.1312, allocations: 51.7 kB / 489.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.1313, allocations: 43.83 kB / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1313, allocations: 0 / 489.9 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.353e-05/0.1314, allocations: 35.98 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.1315, allocations: 15.92 kB / 489.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.1315, allocations: 23.81 kB / 490 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1317, allocations: 99.92 kB / 490.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1317, allocations: 0 / 490.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.1317, allocations: 3.938 kB / 490.1 MB, free: 9.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1317, allocations: 0 / 490.1 MB, free: 9.477 MB / 378.7 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.0004695/0.1322, allocations: 407 kB / 490.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1322, allocations: 8.031 kB / 490.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.1323, allocations: 12.84 kB / 490.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1325, allocations: 216 kB / 490.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1326, allocations: 384 / 490.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1326, allocations: 8.109 kB / 490.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1327, allocations: 49.67 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1327, allocations: 3.938 kB / 490.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1327, allocations: 0 / 490.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1327, allocations: 0 / 490.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.1328, allocations: 23.86 kB / 490.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.133, allocations: 181.7 kB / 491 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.1332, allocations: 46.62 kB / 491 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.1332, allocations: 28.78 kB / 491 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1333, allocations: 0 / 491 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.1335, allocations: 71.33 kB / 491.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1335, allocations: 0 / 491.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002739/0.1338, allocations: 89.77 kB / 491.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.1338, allocations: 55.41 kB / 491.2 MB, free: 8.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.134, allocations: 182.2 kB / 491.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.134, allocations: 25.7 kB / 491.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.1341, allocations: 100.1 kB / 491.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.1341, allocations: 15.81 kB / 491.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.1341, allocations: 21.72 kB / 491.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1343, allocations: 322.8 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.774e-05/0.1344, allocations: 20.05 kB / 491.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.1344, allocations: 25.66 kB / 491.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.402e-05/0.1345, allocations: 45.7 kB / 492 MB, free: 7.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1345, allocations: 0 / 492 MB, free: 7.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001585/0.1347, allocations: 85.47 kB / 492.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1347, allocations: 8 kB / 492.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1347, allocations: 3.984 kB / 492.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1348, allocations: 0 / 492.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.1348, allocations: 8 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1348, allocations: 4 kB / 492.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.1349, allocations: 7.906 kB / 492.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1349, allocations: 4 kB / 492.1 MB, free: 7.199 MB / 378.7 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.137e-05/0.135, allocations: 125.8 kB / 492.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.135, allocations: 11.94 kB / 492.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.1351, allocations: 16.3 kB / 492.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1351, allocations: 0 / 492.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1351, allocations: 3.938 kB / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1351, allocations: 4 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.1353, allocations: 189.5 kB / 492.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1353, allocations: 0 / 492.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.1353, allocations: 4 kB / 492.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1353, allocations: 0 / 492.4 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1353, allocations: 4 kB / 492.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1353, allocations: 4 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1353, allocations: 0 / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.1358, allocations: 0.6863 MB / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.1359, allocations: 84.92 kB / 493.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1359, allocations: 7.938 kB / 493.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.136, allocations: 3.984 kB / 493.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.136, allocations: 7.984 kB / 493.2 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.136, allocations: 7.938 kB / 493.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1362, allocations: 148 kB / 493.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1362, allocations: 0 / 493.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.1365, allocations: 16 kB / 493.4 MB, free: 5.754 MB / 378.7 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.0009369/0.1374, allocations: 414 kB / 493.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1376, allocations: 39.92 kB / 493.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1376, allocations: 8 kB / 493.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.1377, allocations: 23.92 kB / 493.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.138, allocations: 23.98 kB / 493.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.1385, allocations: 318.8 kB / 494.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1388, allocations: 0.7043 MB / 494.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.1389, allocations: 24.33 kB / 494.9 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1389, allocations: 11.44 kB / 495 MB, free: 4.184 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.1389, allocations: 0 / 495 MB, free: 4.184 MB / 378.7 MB Notification: Performance of Templates: time 0.004102/0.143, allocations: 1.446 MB / 496.4 MB, free: 2.742 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches