Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.0008844/0.0008844, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004595/0.004595, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.9178/0.9178, allocations: 177.1 MB / 205 MB, free: 5.727 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.2915/0.2915, allocations: 32.79 MB / 294.2 MB, free: 1.211 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 4 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/3.026e-05, allocations: 6.219 kB / 440.9 MB, free: 3.719 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002171/0.002202, allocations: 1.605 MB / 442.5 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.003142, allocations: 0.5336 MB / 443 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.677e-05/0.003208, allocations: 0 / 443 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.003507, allocations: 123.5 kB / 443.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.00379, allocations: 123.5 kB / 443.3 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.004032, allocations: 109.5 kB / 443.4 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.004187, allocations: 91.73 kB / 443.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.004296, allocations: 19.88 kB / 443.5 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.004364, allocations: 47.88 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.004466, allocations: 71.84 kB / 443.6 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.004483, allocations: 4 kB / 443.6 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.811e-05/0.004572, allocations: 43.92 kB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.227e-05/0.004634, allocations: 35.86 kB / 443.7 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.004663, allocations: 15.92 kB / 443.7 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.004846, allocations: 111.6 kB / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.004849, allocations: 0 / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.004851, allocations: 3.938 kB / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.004856, allocations: 0 / 443.8 MB, free: 0.7773 MB / 410.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.0004027/0.005259, allocations: 353.5 kB / 444.1 MB, free: 412 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.005296, allocations: 8.031 kB / 444.1 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.005336, allocations: 16.84 kB / 444.2 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.005481, allocations: 150.3 kB / 444.3 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.005499, allocations: 8.375 kB / 444.3 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.00552, allocations: 384 / 444.3 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.005644, allocations: 58.19 kB / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.005655, allocations: 192 / 444.4 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005666, allocations: 4.125 kB / 444.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.005671, allocations: 0 / 444.4 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.196e-05/0.005733, allocations: 27.97 kB / 444.4 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2107/0.2164, allocations: 247.6 kB / 444.7 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2166, allocations: 42.22 kB / 444.7 MB, free: 46.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.2166, allocations: 20.08 kB / 444.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.2166, allocations: 6.484 kB / 444.7 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2166, allocations: 30.56 kB / 444.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.514e-06/0.2166, allocations: 0 / 444.7 MB, free: 46.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007817/0.2174, allocations: 257.7 kB / 445 MB, free: 46.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.2175, allocations: 56.69 kB / 445.1 MB, free: 46.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2176, allocations: 258.7 kB / 445.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.2176, allocations: 25.7 kB / 445.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2177, allocations: 111.1 kB / 445.4 MB, free: 46.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.2177, allocations: 29.42 kB / 445.5 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.2177, allocations: 23.3 kB / 445.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.2178, allocations: 321.1 kB / 445.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.293e-05/0.2179, allocations: 35.42 kB / 445.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.2179, allocations: 30.56 kB / 445.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.342e-05/0.218, allocations: 72.52 kB / 445.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.218, allocations: 0 / 445.9 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001344/0.2181, allocations: 123.4 kB / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2182, allocations: 5.219 kB / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2182, allocations: 3.469 kB / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2182, allocations: 0 / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.2183, allocations: 18.67 kB / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2183, allocations: 0 / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.2183, allocations: 11.3 kB / 446.1 MB, free: 45.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2183, allocations: 0 / 446.1 MB, free: 45.76 MB / 410.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 7.027e-05/0.2184, allocations: 137.8 kB / 446.2 MB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.2184, allocations: 18.09 kB / 446.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.2186, allocations: 138 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2186, allocations: 2.969 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2186, allocations: 3.656 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2186, allocations: 3.281 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.2189, allocations: 373.3 kB / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2189, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.219, allocations: 18.64 kB / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.219, allocations: 2.75 kB / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.219, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.219, allocations: 0 / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.219, allocations: 2.781 kB / 446.8 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2191, allocations: 223.2 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.2191, allocations: 10.16 kB / 447 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2191, allocations: 2.562 kB / 447 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.2192, allocations: 6.719 kB / 447 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.2192, allocations: 5.984 kB / 447 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2192, allocations: 2.594 kB / 447 MB, free: 45.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.226e-05/0.2193, allocations: 189.8 kB / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2193, allocations: 0 / 447.2 MB, free: 45.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.2195, allocations: 20.39 kB / 447.2 MB, free: 45.04 MB / 410.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.0008706/0.2204, allocations: 0.4917 MB / 447.7 MB, free: 44.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2206, allocations: 76.67 kB / 447.8 MB, free: 44.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2206, allocations: 4 kB / 447.8 MB, free: 44.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.2206, allocations: 36.25 kB / 447.8 MB, free: 44.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2209, allocations: 22.02 kB / 447.9 MB, free: 44.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.2214, allocations: 330 kB / 448.2 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.76e-05/0.2214, allocations: 103.6 kB / 448.3 MB, free: 44.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.2215, allocations: 17.47 kB / 448.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2215, allocations: 7.172 kB / 448.3 MB, free: 44.57 MB / 410.7 MB Notification: Performance of Templates: time 0.003138/0.2246, allocations: 1.953 MB / 450.3 MB, free: 44.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.95921035297215]