Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001308/0.001308, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001502/0.001502, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.559/1.559, allocations: 177.1 MB / 204.3 MB, free: 9.164 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.2152/0.2152, allocations: 34.28 MB / 294.9 MB, free: 14.56 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.915e-05, allocations: 2.281 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003999/0.004028, allocations: 1.617 MB / 444.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.005281, allocations: 0.5375 MB / 444.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.005364, allocations: 3.938 kB / 444.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.005739, allocations: 131.6 kB / 445 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.006138, allocations: 123.5 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.006505, allocations: 115.6 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.006725, allocations: 103.7 kB / 445.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.006836, allocations: 11.98 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.006952, allocations: 55.86 kB / 445.4 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.007119, allocations: 91.83 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.007141, allocations: 4 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.007255, allocations: 43.92 kB / 445.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.007323, allocations: 27.91 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.007367, allocations: 19.88 kB / 445.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.007616, allocations: 123.4 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.00762, allocations: 7.938 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.007621, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.007627, allocations: 0 / 445.7 MB, free: 2.363 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.0006044/0.008231, allocations: 353.5 kB / 446 MB, free: 1.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.008274, allocations: 16.03 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.008324, allocations: 16.83 kB / 446.1 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.008562, allocations: 153.2 kB / 446.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.008568, allocations: 384 / 446.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.008599, allocations: 8.375 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.008777, allocations: 54.22 kB / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.008791, allocations: 192 / 446.3 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.008806, allocations: 12.06 kB / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.00881, allocations: 0 / 446.3 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.008928, allocations: 31.97 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.009388, allocations: 252.5 kB / 446.6 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.009509, allocations: 46.5 kB / 446.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.009567, allocations: 20.88 kB / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.009589, allocations: 4 kB / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.00962, allocations: 34.56 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.009621, allocations: 0 / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001011/0.01063, allocations: 249.1 kB / 446.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.01069, allocations: 55.41 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.011, allocations: 271.9 kB / 447.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.01102, allocations: 25.7 kB / 447.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.01111, allocations: 116.1 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.01115, allocations: 31.73 kB / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.01119, allocations: 21.72 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.01136, allocations: 330.8 kB / 447.7 MB, free: 140 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.433e-05/0.01146, allocations: 32.05 kB / 447.8 MB, free: 108 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/0.01155, allocations: 35.95 kB / 447.8 MB, free: 72 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2145/0.2261, allocations: 77.11 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.2261, allocations: 0 / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003742/0.2265, allocations: 109.6 kB / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.2265, allocations: 5.219 kB / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2265, allocations: 0 / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.2265, allocations: 4.016 kB / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.2267, allocations: 20.59 kB / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2267, allocations: 1.188 kB / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.745e-05/0.2267, allocations: 5.359 kB / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2267, allocations: 2.312 kB / 448 MB, free: 19.02 MB / 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.0001124/0.2268, allocations: 148.3 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.2269, allocations: 16.64 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.2272, allocations: 134 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2272, allocations: 5.219 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2272, allocations: 0 / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2272, allocations: 0.9375 kB / 448.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.2278, allocations: 374.5 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2278, allocations: 1.859 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.2279, allocations: 16.55 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2279, allocations: 3.781 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2279, allocations: 1.797 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2279, allocations: 1.219 kB / 448.7 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2279, allocations: 5 kB / 448.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2281, allocations: 224 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.2281, allocations: 15 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2282, allocations: 4.828 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.2283, allocations: 5.469 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2283, allocations: 12.97 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.2283, allocations: 2.344 kB / 449 MB, free: 18.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2285, allocations: 207.1 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2285, allocations: 0 / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.2287, allocations: 23.34 kB / 449.2 MB, free: 18.41 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.001783/0.2305, allocations: 496.7 kB / 449.7 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.2308, allocations: 71.67 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2308, allocations: 3.172 kB / 449.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2309, allocations: 43.11 kB / 449.8 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2312, allocations: 15.78 kB / 449.8 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.2318, allocations: 320.1 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.482e-05/0.2319, allocations: 110.3 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.232, allocations: 22.58 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.232, allocations: 17.38 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.232, allocations: 0 / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of Templates: time 0.00492/0.2369, allocations: 1.418 MB / 451.7 MB, free: 17.78 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.928647078573704]