Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001172/0.001172, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001585/0.002757, 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.0006905/0.0006905, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008955/0.001586, 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.856/0.856, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1424/0.9983, allocations: 49.5 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.1233/0.1233, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02195/0.1452, 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.192e-05, allocations: 10.19 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.001765/0.001777, allocations: 1.639 MB / 269 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008965/0.002674, allocations: 1.092 MB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.002726, allocations: 8 kB / 270.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.002853, allocations: 27.78 kB / 270.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.002963, allocations: 43.72 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.003116, allocations: 75.7 kB / 270.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.003227, allocations: 55.86 kB / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.116e-05/0.003298, allocations: 11.98 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.003378, allocations: 39.84 kB / 270.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.003459, allocations: 23.91 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.003473, allocations: 4 kB / 270.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.003572, allocations: 47.92 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.134e-05/0.003604, allocations: 11.94 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.003624, allocations: 7.938 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.00376, allocations: 87.61 kB / 270.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.003769, allocations: 0 / 270.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.003771, allocations: 3.984 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.003779, allocations: 0 / 270.6 MB, free: 15.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00032/0.004099, allocations: 284.2 kB / 270.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.004126, allocations: 8.031 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.004158, allocations: 8.922 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.004281, allocations: 125.7 kB / 271 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.004288, allocations: 4.375 kB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.004305, allocations: 4.312 kB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.004408, allocations: 98.36 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004416, allocations: 192 / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.004423, allocations: 4.125 kB / 271.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.004428, allocations: 3.938 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.004445, allocations: 7.984 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.004614, allocations: 159.1 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.004727, allocations: 30.5 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.004742, allocations: 16.91 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.004757, allocations: 4 kB / 271.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.004776, allocations: 38.56 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.004777, allocations: 0 / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002266/0.005004, allocations: 85.52 kB / 271.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.005024, allocations: 51.41 kB / 271.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.005101, allocations: 132.7 kB / 271.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.078e-06/0.00511, allocations: 25.7 kB / 271.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.005137, allocations: 92.11 kB / 271.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.005155, allocations: 19.8 kB / 271.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.005179, allocations: 21.7 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.005245, allocations: 322.8 kB / 272.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.005258, allocations: 4 kB / 272.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.005283, allocations: 47.34 kB / 272.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.014e-05/0.005303, allocations: 16.86 kB / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.005304, allocations: 0 / 272.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.646e-05/0.00535, allocations: 49.62 kB / 272.2 MB, free: 13.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005362, allocations: 11.98 kB / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.005366, allocations: 0 / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.005377, allocations: 0 / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.005411, allocations: 8 kB / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.005414, allocations: 8.016 kB / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.005429, allocations: 4 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.005433, allocations: 3.984 kB / 272.2 MB, free: 13.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.771e-05/0.00548, allocations: 116.6 kB / 272.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.005497, allocations: 11.94 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.005561, allocations: 54.11 kB / 272.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.005562, allocations: 0 / 272.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.005564, allocations: 0 / 272.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.005568, allocations: 4 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.005725, allocations: 210.8 kB / 272.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.005727, allocations: 11.88 kB / 272.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.005749, allocations: 12 kB / 272.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-06/0.005755, allocations: 3.953 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.005756, allocations: 0 / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.005761, allocations: 8 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.005762, allocations: 0 / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.005762, allocations: 0 / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.208e-05/0.005824, allocations: 147.4 kB / 272.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.005833, allocations: 0 / 272.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.944e-05/0.005862, allocations: 8 kB / 272.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.005884, allocations: 3.984 kB / 272.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.005885, allocations: 4 kB / 272.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.535e-05/0.005911, allocations: 35.78 kB / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005911, allocations: 0 / 272.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001337/0.006044, allocations: 19.94 kB / 272.9 MB, free: 12.8 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001134/0.007178, allocations: 0.6094 MB / 273.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.007242, allocations: 16.86 kB / 273.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.007248, allocations: 7.938 kB / 273.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.007269, allocations: 16.84 kB / 273.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.007429, allocations: 83.34 kB / 273.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.007741, allocations: 161.9 kB / 273.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.007771, allocations: 67.33 kB / 273.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.3e-05/0.007804, allocations: 11.98 kB / 273.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.007855, allocations: 63.36 kB / 273.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007856, allocations: 0 / 273.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Templates: time 0.002588/0.01044, allocations: 1.536 MB / 275.4 MB, free: 10.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.7069677440449595]