Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001117/0.001117, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002597, 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.001054/0.001054, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001297/0.002351, 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.9934/0.9934, allocations: 158.6 MB / 171 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.178/1.171, allocations: 49.5 MB / 220.5 MB, free: 1.453 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.1294/0.1294, allocations: 32.35 MB / 253.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02414/0.1535, allocations: 12.28 MB / 265.9 MB, free: 3.992 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 267.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.688e-05, allocations: 6.25 kB / 267.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003374/0.003401, allocations: 1.774 MB / 269.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.00585, allocations: 1.548 MB / 270.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.687e-05/0.005937, allocations: 0 / 270.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.006222, allocations: 39.7 kB / 270.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.006467, allocations: 59.64 kB / 270.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.006761, allocations: 91.69 kB / 270.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.007012, allocations: 99.69 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.007126, allocations: 8.234 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.007292, allocations: 71.78 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.007428, allocations: 31.89 kB / 271 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.007451, allocations: 4 kB / 271 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.007637, allocations: 67.89 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.007693, allocations: 11.94 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.007734, allocations: 15.94 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.007968, allocations: 99.61 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-05/0.007988, allocations: 0 / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007989, allocations: 7.938 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.579e-05/0.008015, allocations: 0 / 271.2 MB, free: 14.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006536/0.008668, allocations: 327.9 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.008714, allocations: 8.031 kB / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.008777, allocations: 8.922 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.009039, allocations: 137.6 kB / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.009065, allocations: 384 / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.009098, allocations: 4.375 kB / 271.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.009315, allocations: 113.1 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.009331, allocations: 3.938 kB / 271.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.009341, allocations: 4 kB / 271.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.009347, allocations: 0 / 271.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.00939, allocations: 10.83 kB / 271.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.009676, allocations: 158 kB / 272 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.009798, allocations: 97.27 kB / 272.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.009826, allocations: 16.84 kB / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.00984, allocations: 0 / 272.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.00997, allocations: 70.16 kB / 272.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.009973, allocations: 4 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003888/0.01036, allocations: 121.4 kB / 272.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.0104, allocations: 51.41 kB / 272.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.01053, allocations: 152.2 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01056, allocations: 29.7 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.0106, allocations: 92.11 kB / 272.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.01063, allocations: 23.78 kB / 272.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.01068, allocations: 25.7 kB / 272.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.01078, allocations: 322.8 kB / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.0108, allocations: 10.83 kB / 273 MB, free: 12.72 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.01085, allocations: 64.2 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.534e-05/0.01091, allocations: 40.52 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01091, allocations: 0 / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.01101, allocations: 76.36 kB / 273.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01103, allocations: 4 kB / 273.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01103, allocations: 0 / 273.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01105, allocations: 4 kB / 273.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.01114, allocations: 15.98 kB / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.01114, allocations: 0 / 273.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.01119, allocations: 8.062 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.01119, allocations: 4 kB / 273.2 MB, free: 12.48 MB / 282.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 (10): * Single equations (assignments): 10 * 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 8.373e-05/0.01128, allocations: 116.6 kB / 273.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.0113, allocations: 19.92 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.01144, allocations: 70.39 kB / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01144, allocations: 0 / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.01145, allocations: 0 / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01145, allocations: 0 / 273.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.01177, allocations: 295.4 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01178, allocations: 4 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.01182, allocations: 12.03 kB / 273.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.01183, allocations: 7.953 kB / 273.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01184, allocations: 0 / 273.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01185, allocations: 7.984 kB / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01185, allocations: 384 / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01185, allocations: 0 / 273.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.01201, allocations: 219 kB / 273.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.01203, allocations: 8 kB / 273.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.0121, allocations: 0 / 273.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.01214, allocations: 11.98 kB / 273.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.01215, allocations: 11.94 kB / 273.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.429e-05/0.01221, allocations: 35.64 kB / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01221, allocations: 0 / 274 MB, free: 11.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01246, allocations: 31.94 kB / 274 MB, free: 11.58 MB / 282.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: 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 (9): * Single equations (assignments): 7 * 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.001962/0.01442, allocations: 0.6837 MB / 274.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01455, allocations: 48.78 kB / 274.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.01456, allocations: 0 / 274.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.0146, allocations: 36.7 kB / 274.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01487, allocations: 44.05 kB / 274.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.0155, allocations: 194.3 kB / 275 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.992e-05/0.01556, allocations: 67.2 kB / 275.1 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.554e-05/0.01563, allocations: 24.78 kB / 275.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.01573, allocations: 75.34 kB / 275.2 MB, free: 10.35 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01574, allocations: 4 kB / 275.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of Templates: time 0.005256/0.02099, allocations: 2.332 MB / 277.5 MB, free: 8.008 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.903050908818841]