Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.00113/0.00113, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001138/0.001138, allocations: 166.7 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9948/0.9948, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.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.2752/0.2752, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.777e-05, allocations: 2.859 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002159/0.002177, allocations: 1.674 MB / 325 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.002931, allocations: 0.5258 MB / 325.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.002983, allocations: 4 kB / 325.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.003195, allocations: 27.73 kB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.003415, allocations: 79.61 kB / 325.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.003613, allocations: 91.62 kB / 325.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.003735, allocations: 63.78 kB / 325.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.003815, allocations: 19.92 kB / 325.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.003868, allocations: 27.91 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.00392, allocations: 15.92 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.003931, allocations: 4 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-05/0.003996, allocations: 39.92 kB / 325.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.256e-05/0.004029, allocations: 7.938 kB / 325.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.004051, allocations: 11.98 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.004173, allocations: 71.75 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004175, allocations: 0 / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.004176, allocations: 7.922 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.00418, allocations: 0 / 325.9 MB, free: 6.977 MB / 298.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.0002837/0.004463, allocations: 281.7 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.004499, allocations: 12.03 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.004531, allocations: 8.906 kB / 326.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.004701, allocations: 141.6 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.004711, allocations: 384 / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.004729, allocations: 384 / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.004824, allocations: 54.95 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004834, allocations: 192 / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.004842, allocations: 4.125 kB / 326.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004846, allocations: 0 / 326.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.004868, allocations: 11.94 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.005055, allocations: 159.7 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.005161, allocations: 26.58 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.005177, allocations: 16.94 kB / 326.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.005189, allocations: 0 / 326.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.00521, allocations: 38.62 kB / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.005211, allocations: 0 / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002333/0.005444, allocations: 81.48 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.005473, allocations: 55.34 kB / 326.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.005556, allocations: 151 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005567, allocations: 29.7 kB / 327 MB, free: 5.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.005597, allocations: 92.11 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.005618, allocations: 15.8 kB / 327.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.005642, allocations: 25.66 kB / 327.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/0.005719, allocations: 322.8 kB / 327.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.005729, allocations: 4 kB / 327.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.005738, allocations: 4 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.005764, allocations: 16.84 kB / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005765, allocations: 0 / 327.5 MB, free: 5.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.233e-05/0.005817, allocations: 49.62 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.005827, allocations: 7.938 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005831, allocations: 256 / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.005841, allocations: 0 / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.00588, allocations: 15.98 kB / 327.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.005884, allocations: 11.98 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.005901, allocations: 4 kB / 327.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005905, allocations: 0 / 327.6 MB, free: 5.211 MB / 298.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 5.656e-05/0.005962, allocations: 120.6 kB / 327.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.005979, allocations: 7.938 kB / 327.7 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.849e-05/0.006057, allocations: 58.14 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.006059, allocations: 0 / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.006061, allocations: 0 / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.006067, allocations: 7.938 kB / 327.7 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.006233, allocations: 202.8 kB / 327.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006235, allocations: 7.938 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.006259, allocations: 8 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.006261, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.006265, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006266, allocations: 0 / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.006268, allocations: 3.984 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.006386, allocations: 147.5 kB / 328.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.0064, allocations: 16.16 kB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.00641, allocations: 0 / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.518e-05/0.006455, allocations: 4 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.006476, allocations: 11.97 kB / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.00648, allocations: 4.188 kB / 328.1 MB, free: 4.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.006514, allocations: 27.67 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006514, allocations: 4 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001241/0.006638, allocations: 15.92 kB / 328.2 MB, free: 4.516 MB / 298.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.001032/0.00767, allocations: 0.5023 MB / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.994e-05/0.00773, allocations: 24.8 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.007733, allocations: 0 / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.007749, allocations: 20.84 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.00789, allocations: 15.94 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.008138, allocations: 175.2 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.008169, allocations: 59.34 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.65e-05/0.008196, allocations: 11.98 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.00824, allocations: 55.38 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.00824, allocations: 0 / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of Templates: time 0.002497/0.01074, allocations: 1.248 MB / 330.3 MB, free: 2.625 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.875798457302153]