Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001183/0.001183, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001267/0.001267, allocations: 169.6 kB / 25.61 MB, free: 8.871 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 1.013/1.013, allocations: 177.1 MB / 206.1 MB, free: 4.512 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.1502/0.1502, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.334e-05, allocations: 2.312 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.002538/0.002571, allocations: 1.677 MB / 379 MB, free: 23.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.003405, allocations: 0.553 MB / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.003476, allocations: 0 / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.003752, allocations: 95.67 kB / 379.6 MB, free: 23.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.004035, allocations: 115.5 kB / 379.7 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.004304, allocations: 115.6 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.00447, allocations: 103.7 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.00458, allocations: 19.97 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.004651, allocations: 55.83 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.004753, allocations: 59.86 kB / 380.1 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.00477, allocations: 8 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.004856, allocations: 51.91 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.004906, allocations: 27.92 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.004935, allocations: 27.84 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.0051, allocations: 107.5 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.005104, allocations: 0 / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005105, allocations: 0 / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.005112, allocations: 0 / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003816/0.005493, allocations: 467.7 kB / 380.7 MB, free: 22.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.005531, allocations: 11.98 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.005571, allocations: 24.84 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.005688, allocations: 152.4 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.005698, allocations: 4.375 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.005719, allocations: 12.36 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.005824, allocations: 70.86 kB / 381 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.005835, allocations: 4.188 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.005844, allocations: 4.125 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.005848, allocations: 0 / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.951e-05/0.005878, allocations: 15.98 kB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.00615, allocations: 308.2 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.006215, allocations: 54.98 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.00628, allocations: 15.69 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.006302, allocations: 0 / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.006318, allocations: 37.55 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.006319, allocations: 3.938 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005292/0.006848, allocations: 225.8 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.006874, allocations: 51.41 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.006975, allocations: 243.5 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.006982, allocations: 29.7 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.007027, allocations: 166.8 kB / 382.1 MB, free: 20.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.007057, allocations: 47.55 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.007093, allocations: 35.34 kB / 382.2 MB, free: 20.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.007151, allocations: 0.5078 MB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.007173, allocations: 15.98 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.007202, allocations: 18.36 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.007259, allocations: 47.62 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007259, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001019/0.007361, allocations: 97.08 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.007377, allocations: 8 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.007384, allocations: 0 / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.007396, allocations: 4 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.007479, allocations: 27.98 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.007482, allocations: 0 / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.007502, allocations: 7.938 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007508, allocations: 4 kB / 383 MB, free: 19.69 MB / 314.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 (13): * Single equations (assignments): 13 * 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.87e-05/0.007567, allocations: 172.5 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.007592, allocations: 15.91 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.007743, allocations: 111.1 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.007746, allocations: 8 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007748, allocations: 0 / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.007752, allocations: 3.984 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.008035, allocations: 397.4 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.008038, allocations: 3.984 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.008091, allocations: 20 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.008096, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.008106, allocations: 11.98 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008108, allocations: 0 / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.008109, allocations: 7.969 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.008233, allocations: 255.4 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.008243, allocations: 11.91 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.008255, allocations: 4 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.008291, allocations: 4 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.008321, allocations: 11.92 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.008328, allocations: 11.98 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.008379, allocations: 173.6 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008379, allocations: 0 / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.008553, allocations: 27.94 kB / 384.2 MB, free: 18.38 MB / 314.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 (13): * Single equations (assignments): 13 * 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.0009042/0.009458, allocations: 441.4 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.00957, allocations: 55.59 kB / 384.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.009572, allocations: 0 / 384.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.281e-05/0.009605, allocations: 47.47 kB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.009827, allocations: 33.33 kB / 384.7 MB, free: 17.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.01015, allocations: 278.5 kB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.01019, allocations: 79.19 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.01023, allocations: 24.48 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.01028, allocations: 86.19 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01028, allocations: 0 / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of Templates: time 0.003412/0.01369, allocations: 1.797 MB / 387 MB, free: 15.71 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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: 3.218917609192431]