Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 88.23 kB / 20.2 MB, free: 4.23 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 161.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2273/0.2273, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.678e-05/3.919e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004041/0.00408, allocations: 1.766 MB / 348.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.006159, allocations: 0.8388 MB / 349.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.006286, allocations: 4 kB / 349.6 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007742/0.00706, allocations: 319.1 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.007634, allocations: 211.3 kB / 350.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.008203, allocations: 139.6 kB / 350.3 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.008602, allocations: 251.2 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.008661, allocations: 9.797 kB / 350.5 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.008922, allocations: 151.6 kB / 350.7 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.009217, allocations: 195.6 kB / 350.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.009255, allocations: 8 kB / 350.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.009404, allocations: 51.92 kB / 350.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.009581, allocations: 139.6 kB / 351.1 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.0097, allocations: 67.67 kB / 351.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.01015, allocations: 346.8 kB / 351.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.01015, allocations: 0 / 351.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.01015, allocations: 0 / 351.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.01016, allocations: 4 kB / 351.5 MB, free: 5.258 MB / 282.7 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.001124/0.01129, allocations: 0.6631 MB / 352.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.01133, allocations: 8.031 kB / 352.1 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.01148, allocations: 60.55 kB / 352.2 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.01224, allocations: 389.8 kB / 352.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.01226, allocations: 384 / 352.6 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.01228, allocations: 4.375 kB / 352.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.01262, allocations: 95.84 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.01263, allocations: 3.938 kB / 352.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.01265, allocations: 0 / 352.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.01266, allocations: 0 / 352.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.01286, allocations: 39.91 kB / 352.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.01337, allocations: 298.1 kB / 353 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.01377, allocations: 113.2 kB / 353.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.01391, allocations: 37.7 kB / 353.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.01393, allocations: 0 / 353.2 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.01425, allocations: 113 kB / 353.3 MB, free: 3.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.01425, allocations: 4 kB / 353.3 MB, free: 3.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007652/0.01501, allocations: 213.2 kB / 353.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.01505, allocations: 85.09 kB / 353.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.01646, allocations: 1.046 MB / 354.6 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01647, allocations: 29.7 kB / 354.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.01666, allocations: 232.1 kB / 354.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/0.01672, allocations: 27.75 kB / 354.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.01679, allocations: 33.7 kB / 354.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.0169, allocations: 362.8 kB / 355.3 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.01704, allocations: 27.98 kB / 355.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.0172, allocations: 69.59 kB / 355.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.01751, allocations: 91.91 kB / 355.5 MB, free: 1.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.01751, allocations: 4 kB / 355.5 MB, free: 1.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004757/0.01799, allocations: 177.2 kB / 355.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.01801, allocations: 8 kB / 355.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.01802, allocations: 3.938 kB / 355.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.01805, allocations: 0 / 355.6 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.01823, allocations: 23.98 kB / 355.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.01825, allocations: 8 kB / 355.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.01842, allocations: 19.92 kB / 355.7 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.01843, allocations: 4 kB / 355.7 MB, free: 0.7812 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000248/0.01868, allocations: 225.6 kB / 355.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.01877, allocations: 51.67 kB / 356 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/0.01934, allocations: 209.6 kB / 356.2 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01935, allocations: 4 kB / 356.2 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.01935, allocations: 0 / 356.2 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01936, allocations: 0 / 356.2 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.01971, allocations: 269.2 kB / 356.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.01971, allocations: 4 kB / 356.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.01979, allocations: 8 kB / 356.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.0198, allocations: 3.938 kB / 356.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.01982, allocations: 8 kB / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.01983, allocations: 8.172 kB / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01983, allocations: 0 / 356.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.02049, allocations: 225.5 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.02069, allocations: 63.66 kB / 356.8 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.02077, allocations: 7.984 kB / 356.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.02094, allocations: 11.94 kB / 356.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.02101, allocations: 7.984 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.02104, allocations: 8 kB / 356.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001514/0.02255, allocations: 0.776 MB / 357.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02255, allocations: 0 / 357.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005192/0.02307, allocations: 51.92 kB / 357.6 MB, free: 14.79 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003061/0.02614, allocations: 437.2 kB / 358 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004939/0.02663, allocations: 91.95 kB / 358.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.02663, allocations: 0 / 358.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.02687, allocations: 35.98 kB / 358.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.02766, allocations: 87.5 kB / 358.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.03, allocations: 0.9005 MB / 359.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.03047, allocations: 237.8 kB / 359.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.03067, allocations: 66.92 kB / 359.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.03081, allocations: 24.5 kB / 359.5 MB, free: 13 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.03081, allocations: 0 / 359.5 MB, free: 13 MB / 298.7 MB Notification: Performance of Templates: time 0.01621/0.04702, allocations: 4.009 MB / 363.5 MB, free: 8.992 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.154257558053359]