Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.002009/0.002009, allocations: 82.36 kB / 20.68 MB, free: 1.027 MB / 14.72 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.002486/0.002486, allocations: 163.8 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.482/1.482, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2295/0.2295, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.426e-05, allocations: 2.281 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003259/0.003293, allocations: 1.626 MB / 444.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.004547, allocations: 0.5336 MB / 444.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.004617, allocations: 0 / 444.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.004922, allocations: 75.77 kB / 444.9 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.005272, allocations: 107.5 kB / 445 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.005605, allocations: 118.9 kB / 445.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.005803, allocations: 99.67 kB / 445.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.005913, allocations: 8 kB / 445.3 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.006017, allocations: 47.88 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.006149, allocations: 47.89 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.006172, allocations: 4 kB / 445.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.006277, allocations: 47.91 kB / 445.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.006343, allocations: 23.92 kB / 445.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.006379, allocations: 11.94 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.006605, allocations: 107.6 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006607, allocations: 0 / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006608, allocations: 8 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.006612, allocations: 3.938 kB / 445.5 MB, free: 2.508 MB / 366.1 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.000579/0.007191, allocations: 341.6 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.007227, allocations: 8.031 kB / 445.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.007275, allocations: 12.84 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.007495, allocations: 142.3 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.007506, allocations: 384 / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.00753, allocations: 4.375 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.007693, allocations: 58.17 kB / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.007706, allocations: 192 / 446.1 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.007718, allocations: 8.125 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007724, allocations: 0 / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.007833, allocations: 31.97 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.008256, allocations: 240.5 kB / 446.4 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.008384, allocations: 46.5 kB / 446.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.008443, allocations: 24.88 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.008468, allocations: 0 / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.008503, allocations: 34.56 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.008504, allocations: 4 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001058/0.009562, allocations: 237.2 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.009618, allocations: 51.41 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.009857, allocations: 214.3 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.009878, allocations: 29.64 kB / 447 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.571e-05/0.009964, allocations: 116.1 kB / 447.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.009996, allocations: 23.8 kB / 447.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.01004, allocations: 21.78 kB / 447.2 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01022, allocations: 326.8 kB / 447.5 MB, free: 416 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.01033, allocations: 35.97 kB / 447.5 MB, free: 380 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-05/0.01041, allocations: 31.97 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.01059, allocations: 72.77 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.01059, allocations: 0 / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002495/0.01084, allocations: 122.2 kB / 447.7 MB, free: 144 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01086, allocations: 7.984 kB / 447.7 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.01086, allocations: 0 / 447.7 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01088, allocations: 4 kB / 447.8 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.01099, allocations: 15.98 kB / 447.8 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.011, allocations: 4.062 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.01104, allocations: 8 kB / 447.8 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.01105, allocations: 7.938 kB / 447.8 MB, free: 96 kB / 366.1 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 0.201/0.212, allocations: 129.1 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.2121, allocations: 12.42 kB / 447.9 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.2125, allocations: 127.9 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2125, allocations: 1.406 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2125, allocations: 1.062 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.2125, allocations: 1.078 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.213, allocations: 366 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.213, allocations: 0 / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.213, allocations: 17.31 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.213, allocations: 1.188 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.213, allocations: 1.281 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2131, allocations: 9.312 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2131, allocations: 1.25 kB / 448.4 MB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.2133, allocations: 212.7 kB / 448.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.2133, allocations: 13.11 kB / 448.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2133, allocations: 5.578 kB / 448.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.2134, allocations: 4.703 kB / 448.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.2134, allocations: 8.844 kB / 448.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.2135, allocations: 5.281 kB / 448.7 MB, free: 18.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.2136, allocations: 165.9 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2136, allocations: 1.094 kB / 448.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.2138, allocations: 25.08 kB / 448.9 MB, free: 18.55 MB / 366.1 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.001777/0.2156, allocations: 486 kB / 449.3 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.2159, allocations: 73.33 kB / 449.4 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2159, allocations: 1.156 kB / 449.4 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.216, allocations: 38.36 kB / 449.5 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2163, allocations: 20.12 kB / 449.5 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.2168, allocations: 280.8 kB / 449.8 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.658e-05/0.2168, allocations: 92.28 kB / 449.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.308e-05/0.2169, allocations: 17.25 kB / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.2169, allocations: 16.45 kB / 449.9 MB, free: 18.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2169, allocations: 0 / 449.9 MB, free: 18.17 MB / 366.1 MB Notification: Performance of Templates: time 0.004652/0.2216, allocations: 1.399 MB / 451.3 MB, free: 18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.978550475090742]