Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0008717/0.0008717, 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.0008625/0.0008625, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9852/0.9852, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2425/0.2425, allocations: 32.81 MB / 294.6 MB, free: 1.195 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.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.747e-05, allocations: 3.672 kB / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002256/0.002284, allocations: 1.629 MB / 324.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.003058, allocations: 0.5413 MB / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.003118, allocations: 0 / 325.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.003344, allocations: 31.78 kB / 325.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.003604, allocations: 83.55 kB / 325.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.003835, allocations: 111.6 kB / 325.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.003951, allocations: 71.78 kB / 325.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.00403, allocations: 11.97 kB / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.004089, allocations: 27.92 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.00414, allocations: 19.92 kB / 325.8 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.004153, allocations: 4 kB / 325.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.004218, allocations: 27.98 kB / 325.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.004255, allocations: 15.92 kB / 325.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.004276, allocations: 11.94 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.004403, allocations: 87.59 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004405, allocations: 0 / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004406, allocations: 0 / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.00441, allocations: 4 kB / 325.9 MB, free: 7.023 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.0002945/0.004704, allocations: 285.7 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.004736, allocations: 12.02 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.00476, allocations: 4.938 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004878, allocations: 142.2 kB / 326.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.004886, allocations: 4.312 kB / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.004904, allocations: 384 / 326.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.004981, allocations: 58.7 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.00499, allocations: 3.938 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.004996, allocations: 0 / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005001, allocations: 4 kB / 326.4 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.005025, allocations: 15.98 kB / 326.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.005351, allocations: 159.8 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.005471, allocations: 29.39 kB / 326.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.005488, allocations: 12.92 kB / 326.6 MB, free: 6.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.005502, allocations: 7.875 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.005523, allocations: 38.64 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.005524, allocations: 0 / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000232/0.005756, allocations: 81.48 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.005785, allocations: 55.41 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.00587, allocations: 158.9 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005881, allocations: 29.7 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.005908, allocations: 92.11 kB / 327.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.005926, allocations: 19.8 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.00595, allocations: 17.7 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.006024, allocations: 322.8 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.006035, allocations: 7.984 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-06/0.006045, allocations: 4 kB / 327.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.006071, allocations: 19.67 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006072, allocations: 0 / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.288e-05/0.006125, allocations: 61.56 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006135, allocations: 4 kB / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006139, allocations: 0 / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.00615, allocations: 0 / 327.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.006186, allocations: 8 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.006189, allocations: 7.984 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.006204, allocations: 0 / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.006208, allocations: 288 / 327.5 MB, free: 5.23 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.071e-05/0.006259, allocations: 116.7 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.006274, allocations: 7.938 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/0.006355, allocations: 73.98 kB / 327.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.006357, allocations: 4 kB / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006359, allocations: 320 / 327.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006362, allocations: 3.984 kB / 327.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.006527, allocations: 214.8 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006529, allocations: 0 / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.006554, allocations: 15.92 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006556, allocations: 0 / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.00656, allocations: 4 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.00656, allocations: 0 / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.006561, allocations: 4 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.789e-05/0.006629, allocations: 143.5 kB / 328.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.00664, allocations: 15.95 kB / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.006649, allocations: 0 / 328.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.844e-05/0.006677, allocations: 4 kB / 328.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.006702, allocations: 3.984 kB / 328.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.006705, allocations: 0 / 328.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.587e-05/0.006741, allocations: 42.3 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006741, allocations: 0 / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.00688, allocations: 15.98 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.00101/0.00789, allocations: 0.5132 MB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.007958, allocations: 16.86 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.007961, allocations: 0 / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.007979, allocations: 16.84 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.008127, allocations: 19.88 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.0002673/0.008394, allocations: 186.8 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.008428, allocations: 63.34 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.802e-05/0.008456, allocations: 20.22 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.008503, allocations: 59.38 kB / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008503, allocations: 0 / 329.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002674/0.01118, allocations: 1.258 MB / 330.3 MB, free: 2.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.8781717158854008]