Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001069/0.001069, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002582, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0008451/0.0008451, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009587/0.001804, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9426/0.9426, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2036/1.146, allocations: 49.49 MB / 220.5 MB, free: 5.281 MB / 218.7 MB " [Timeout remaining time 179] 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.1513/0.1513, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.022/0.1733, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.682e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00229/0.002307, allocations: 1.966 MB / 269.3 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003446, allocations: 0.8465 MB / 270.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003546, allocations: 7.938 kB / 270.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.003784, allocations: 47.69 kB / 270.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.003922, allocations: 59.58 kB / 270.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.004142, allocations: 103.7 kB / 270.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.004327, allocations: 143.5 kB / 270.5 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.004423, allocations: 30.27 kB / 270.5 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.004552, allocations: 100.5 kB / 270.6 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.004645, allocations: 39.88 kB / 270.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.004665, allocations: 8 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.004743, allocations: 39.94 kB / 270.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.004788, allocations: 23.86 kB / 270.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.004826, allocations: 23.94 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.005026, allocations: 119.5 kB / 270.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.005044, allocations: 0 / 270.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005045, allocations: 0 / 270.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.005064, allocations: 0 / 270.8 MB, free: 2.879 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005137/0.005578, allocations: 409.3 kB / 271.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.005607, allocations: 8.031 kB / 271.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.005644, allocations: 16.92 kB / 271.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.005809, allocations: 157.5 kB / 271.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.005825, allocations: 4.375 kB / 271.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.005845, allocations: 12.12 kB / 271.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.005992, allocations: 137.3 kB / 271.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.005999, allocations: 0 / 271.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.00601, allocations: 12 kB / 271.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.006016, allocations: 0 / 271.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.227e-05/0.006058, allocations: 26.75 kB / 271.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.006375, allocations: 370.1 kB / 272 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.006545, allocations: 105.2 kB / 272.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.006568, allocations: 12.86 kB / 272.1 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.006581, allocations: 4 kB / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.006696, allocations: 99.89 kB / 272.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.31e-07/0.006697, allocations: 0 / 272.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001322/0.00683, allocations: 77.59 kB / 272.3 MB, free: 1.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.006861, allocations: 51.41 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.006972, allocations: 181 kB / 272.5 MB, free: 1.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.00699, allocations: 33.7 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.007038, allocations: 108 kB / 272.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.007059, allocations: 27.75 kB / 272.7 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.007092, allocations: 33.69 kB / 272.7 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.007168, allocations: 334.7 kB / 273 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.007185, allocations: 18.77 kB / 273 MB, free: 500 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.007215, allocations: 40.3 kB / 273.1 MB, free: 444 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.948e-05/0.007274, allocations: 78.23 kB / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.007277, allocations: 0 / 273.1 MB, free: 348 kB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.391e-05/0.007361, allocations: 88.3 kB / 273.2 MB, free: 252 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.007371, allocations: 12.12 kB / 273.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007376, allocations: 0 / 273.2 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.007388, allocations: 11.98 kB / 273.3 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/0.007454, allocations: 31.92 kB / 273.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007459, allocations: 3.984 kB / 273.3 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.00749, allocations: 7.953 kB / 273.3 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.007497, allocations: 7.938 kB / 273.3 MB, free: 176 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 6.446e-05/0.007562, allocations: 120.6 kB / 273.4 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.007575, allocations: 15.98 kB / 273.4 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.007686, allocations: 75.06 kB / 273.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.007689, allocations: 8 kB / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.007691, allocations: 0 / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.007695, allocations: 0 / 273.5 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.419e-05/0.007779, allocations: 105.8 kB / 273.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.00778, allocations: 0 / 273.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.007833, allocations: 15.94 kB / 273.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.007855, allocations: 15.89 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007856, allocations: 0 / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007863, allocations: 0 / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007863, allocations: 0 / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.007864, allocations: 4 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007979, allocations: 114.6 kB / 273.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.007996, allocations: 11.98 kB / 273.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.444e-05/0.008021, allocations: 4 kB / 273.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.008046, allocations: 3.984 kB / 273.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.008058, allocations: 8 kB / 273.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.008098, allocations: 45.61 kB / 273.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.008098, allocations: 0 / 273.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.008227, allocations: 31.94 kB / 273.9 MB, free: 15.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00108/0.009307, allocations: 0.5548 MB / 274.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.009415, allocations: 52.72 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.009425, allocations: 4 kB / 274.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.009461, allocations: 32.95 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.009621, allocations: 47.86 kB / 274.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.01019, allocations: 252.4 kB / 274.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.01023, allocations: 79.83 kB / 274.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.344e-05/0.01027, allocations: 9.156 kB / 274.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.01035, allocations: 83.33 kB / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01035, allocations: 0 / 275 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Templates: time 0.004303/0.01465, allocations: 2.256 MB / 277.2 MB, free: 12.12 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9360337127000093]