Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001903, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006432/0.0006432, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009143/0.001557, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8992/0.8992, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1599/1.059, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1396/0.1396, allocations: 32.8 MB / 272 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01579/0.1554, allocations: 12.53 MB / 284.5 MB, free: 9.703 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.804e-06/9.216e-06, allocations: 9.344 kB / 285.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001789/0.001798, allocations: 1.66 MB / 287.6 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004527/0.002251, allocations: 418.9 kB / 288 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.00229, allocations: 4 kB / 288 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.002434, allocations: 75.66 kB / 288 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.002547, allocations: 59.75 kB / 288.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.00271, allocations: 91.62 kB / 288.2 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.002822, allocations: 67.78 kB / 288.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.742e-05/0.002889, allocations: 16.16 kB / 288.3 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.635e-05/0.002975, allocations: 63.78 kB / 288.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.003045, allocations: 39.89 kB / 288.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.003059, allocations: 4 kB / 288.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.003124, allocations: 39.92 kB / 288.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.003161, allocations: 23.92 kB / 288.4 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.003181, allocations: 11.94 kB / 288.4 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003296, allocations: 79.67 kB / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.003304, allocations: 0 / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003305, allocations: 0 / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.003312, allocations: 0 / 288.5 MB, free: 5.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002995/0.003612, allocations: 308 kB / 288.8 MB, free: 5.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.767e-05/0.003639, allocations: 8.031 kB / 288.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.003668, allocations: 16.86 kB / 288.8 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.003779, allocations: 141.5 kB / 289 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.003785, allocations: 4.375 kB / 289 MB, free: 5.195 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.003804, allocations: 12.31 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.741e-05/0.003882, allocations: 50.95 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.003888, allocations: 192 / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.003896, allocations: 7.938 kB / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.0039, allocations: 0 / 289.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.076e-05/0.003921, allocations: 11.98 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.004091, allocations: 167.1 kB / 289.2 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.00414, allocations: 34.58 kB / 289.3 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.004154, allocations: 16.84 kB / 289.3 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.004173, allocations: 4 kB / 289.3 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.004192, allocations: 34.59 kB / 289.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.004193, allocations: 0 / 289.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003748/0.004568, allocations: 145.4 kB / 289.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.004592, allocations: 55.39 kB / 289.5 MB, free: 4.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.004687, allocations: 161.7 kB / 289.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.004696, allocations: 25.7 kB / 289.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.00473, allocations: 104 kB / 289.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.00475, allocations: 27.73 kB / 289.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.004777, allocations: 29.7 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.004839, allocations: 318.8 kB / 290.2 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.00485, allocations: 8 kB / 290.2 MB, free: 3.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-06/0.004859, allocations: 4 kB / 290.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.004886, allocations: 28.83 kB / 290.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.004888, allocations: 3.938 kB / 290.2 MB, free: 3.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 4.912e-05/0.004937, allocations: 53.67 kB / 290.3 MB, free: 3.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.004947, allocations: 8 kB / 290.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.00495, allocations: 0 / 290.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.004959, allocations: 0 / 290.3 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/0.005014, allocations: 31.86 kB / 290.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.005017, allocations: 0 / 290.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.005032, allocations: 4 kB / 290.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.005036, allocations: 0 / 290.3 MB, free: 3.762 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 (8): * Single equations (assignments): 8 * 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.558e-05/0.005081, allocations: 116.6 kB / 290.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.005097, allocations: 11.98 kB / 290.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.005172, allocations: 70.44 kB / 290.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.005174, allocations: 7.938 kB / 290.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.005175, allocations: 0 / 290.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005178, allocations: 3.984 kB / 290.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.00537, allocations: 251.9 kB / 290.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.005372, allocations: 3.984 kB / 290.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.005403, allocations: 12 kB / 290.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-06/0.005413, allocations: 11.95 kB / 290.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005414, allocations: 0 / 290.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.00542, allocations: 7.984 kB / 290.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.005421, allocations: 4 kB / 290.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005422, allocations: 0 / 290.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.1e-05/0.005493, allocations: 164.2 kB / 291 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.005503, allocations: 4 kB / 291 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/0.005534, allocations: 8.031 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.005558, allocations: 7.984 kB / 291 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.00556, allocations: 0 / 291 MB, free: 3.031 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.005594, allocations: 46.91 kB / 291 MB, free: 2.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.005594, allocations: 0 / 291 MB, free: 2.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.005723, allocations: 23.92 kB / 291.1 MB, free: 2.961 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001243/0.006966, allocations: 0.6225 MB / 291.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.007036, allocations: 40.72 kB / 291.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.00704, allocations: 0 / 291.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.007067, allocations: 24.84 kB / 291.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.007238, allocations: 90.94 kB / 291.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.007601, allocations: 219 kB / 292 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.00765, allocations: 67.34 kB / 292.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.995e-05/0.00768, allocations: 13.17 kB / 292.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.007727, allocations: 63.38 kB / 292.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007727, allocations: 0 / 292.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of Templates: time 0.002638/0.01037, allocations: 1.473 MB / 293.7 MB, free: 0.6133 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.647395731881261]