Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001096/0.001096, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001637/0.002733, allocations: 452 kB / 10.43 MB, free: 264 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.001058/0.001058, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.00212, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.8658/0.8658, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1544/1.02, allocations: 49.49 MB / 220.7 MB, free: 1.367 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.1523/0.1523, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02058/0.1729, allocations: 12.31 MB / 266.1 MB, free: 3.879 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 267.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.601e-05, allocations: 6.25 kB / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.0037/0.003726, allocations: 1.974 MB / 269.4 MB, free: 496 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.005115, allocations: 0.8465 MB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.005225, allocations: 7.766 kB / 270.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.005503, allocations: 43.66 kB / 270.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.005686, allocations: 71.5 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.005905, allocations: 103.6 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.006083, allocations: 139.6 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.006176, allocations: 26.33 kB / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.006305, allocations: 104.5 kB / 270.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.00639, allocations: 39.83 kB / 270.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.006414, allocations: 8 kB / 270.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.194e-05/0.006496, allocations: 43.92 kB / 270.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.006542, allocations: 23.92 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.006583, allocations: 27.88 kB / 270.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.006759, allocations: 119.5 kB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.006771, allocations: 0 / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.006773, allocations: 0 / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.006781, allocations: 0 / 271 MB, free: 14.88 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004479/0.007229, allocations: 397.4 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.007256, allocations: 12.03 kB / 271.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.007294, allocations: 16.92 kB / 271.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.007468, allocations: 157.5 kB / 271.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.007484, allocations: 4.375 kB / 271.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.007508, allocations: 12.12 kB / 271.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.007662, allocations: 137.4 kB / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.007668, allocations: 0 / 271.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.007677, allocations: 15.88 kB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.007683, allocations: 4 kB / 271.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.007721, allocations: 26.8 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.008029, allocations: 374.1 kB / 272.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.008182, allocations: 97.3 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.008206, allocations: 20.84 kB / 272.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.008218, allocations: 4 kB / 272.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.008333, allocations: 103.8 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.008335, allocations: 0 / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001363/0.008471, allocations: 77.83 kB / 272.5 MB, free: 13.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.008496, allocations: 55.41 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.008744, allocations: 177 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.008761, allocations: 29.7 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.008805, allocations: 108 kB / 272.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.008825, allocations: 31.73 kB / 272.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.008858, allocations: 25.7 kB / 272.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.008934, allocations: 334.7 kB / 273.2 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.008953, allocations: 14.83 kB / 273.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.008986, allocations: 48.28 kB / 273.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.009045, allocations: 73.78 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.009048, allocations: 0 / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.583e-05/0.009144, allocations: 92.36 kB / 273.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.009156, allocations: 12.12 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.00916, allocations: 0 / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.009172, allocations: 4 kB / 273.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.291e-05/0.009245, allocations: 23.98 kB / 273.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.00925, allocations: 3.984 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.009286, allocations: 7.953 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.009295, allocations: 11.94 kB / 273.5 MB, free: 12.18 MB / 282.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.558e-05/0.00936, allocations: 120.5 kB / 273.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.009377, allocations: 15.98 kB / 273.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.009481, allocations: 79.06 kB / 273.7 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.009484, allocations: 8 kB / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.009485, allocations: 0 / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009489, allocations: 0 / 273.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.635e-05/0.009575, allocations: 105.7 kB / 273.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.009576, allocations: 0 / 273.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.009631, allocations: 12 kB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.009645, allocations: 11.91 kB / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.009647, allocations: 0 / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.009657, allocations: 7.984 kB / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009658, allocations: 0 / 273.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.00966, allocations: 4 kB / 273.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.009782, allocations: 114.6 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.009798, allocations: 4 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.009826, allocations: 7.984 kB / 274 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.009856, allocations: 7.984 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.009868, allocations: 4 kB / 274 MB, free: 11.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.00991, allocations: 53.55 kB / 274 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00991, allocations: 0 / 274 MB, free: 11.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.01005, allocations: 31.94 kB / 274.1 MB, free: 11.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.00121/0.01126, allocations: 0.5549 MB / 274.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01139, allocations: 52.77 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.0114, allocations: 7.984 kB / 274.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.01145, allocations: 32.78 kB / 274.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01171, allocations: 239.8 kB / 275 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000704/0.01241, allocations: 260.5 kB / 275.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.01245, allocations: 71.83 kB / 275.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.155e-05/0.0125, allocations: 13.14 kB / 275.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.01259, allocations: 79.3 kB / 275.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01259, allocations: 0 / 275.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of Templates: time 0.004421/0.01701, allocations: 2.247 MB / 277.6 MB, free: 7.895 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.720796980895102]