Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001469/0.001469, 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.001008/0.001008, allocations: 169 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1418/0.1418, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.7 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.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 325.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.123e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.004299/0.00433, allocations: 1.746 MB / 327.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.005458, allocations: 0.5452 MB / 327.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.005541, allocations: 0 / 327.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.005887, allocations: 91.69 kB / 327.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.006275, allocations: 123.4 kB / 327.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.006611, allocations: 91.69 kB / 327.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.006829, allocations: 107.7 kB / 328 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.006936, allocations: 12 kB / 328 MB, free: 14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.007044, allocations: 51.88 kB / 328.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.007163, allocations: 55.86 kB / 328.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.007181, allocations: 4 kB / 328.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.007296, allocations: 47.92 kB / 328.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.007357, allocations: 35.84 kB / 328.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.007392, allocations: 19.94 kB / 328.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.007618, allocations: 111.5 kB / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.007621, allocations: 0 / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007622, allocations: 0 / 328.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007627, allocations: 0 / 328.3 MB, free: 13.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000429/0.008056, allocations: 336 kB / 328.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.008096, allocations: 12.03 kB / 328.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.008136, allocations: 8.922 kB / 328.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.008322, allocations: 153.5 kB / 328.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.008333, allocations: 4.375 kB / 328.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.008355, allocations: 12.31 kB / 328.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.008476, allocations: 66.94 kB / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.008488, allocations: 192 / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.008497, allocations: 4.125 kB / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.008503, allocations: 0 / 328.9 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.008541, allocations: 15.98 kB / 328.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.008853, allocations: 198.9 kB / 329.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.00893, allocations: 42.55 kB / 329.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.008953, allocations: 16.84 kB / 329.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.008976, allocations: 11.94 kB / 329.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.008999, allocations: 30.56 kB / 329.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.009, allocations: 0 / 329.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007942/0.009795, allocations: 205.9 kB / 329.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.009826, allocations: 55.41 kB / 329.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.00996, allocations: 190.5 kB / 329.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.009969, allocations: 25.7 kB / 329.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.01001, allocations: 96.06 kB / 329.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.01004, allocations: 51.62 kB / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.01008, allocations: 29.7 kB / 329.9 MB, free: 12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.01017, allocations: 330.7 kB / 330.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.01018, allocations: 8 kB / 330.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.0102, allocations: 15.98 kB / 330.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.01025, allocations: 48 kB / 330.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01025, allocations: 0 / 330.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.096e-05/0.01033, allocations: 69.67 kB / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01035, allocations: 4 kB / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01035, allocations: 0 / 330.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01037, allocations: 12 kB / 330.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.01045, allocations: 19.98 kB / 330.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01045, allocations: 4 kB / 330.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.01048, allocations: 11.92 kB / 330.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.01048, allocations: 4 kB / 330.4 MB, free: 11.47 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 6.177e-05/0.01054, allocations: 120.5 kB / 330.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.01056, allocations: 11.98 kB / 330.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.0107, allocations: 95.12 kB / 330.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.0107, allocations: 0 / 330.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.0107, allocations: 0 / 330.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01071, allocations: 7.984 kB / 330.6 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.011, allocations: 295.3 kB / 330.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.011, allocations: 0 / 330.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.01106, allocations: 23.98 kB / 330.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01106, allocations: 0 / 330.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01107, allocations: 4 kB / 330.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01107, allocations: 4 kB / 330.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01107, allocations: 0 / 330.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.01117, allocations: 180.2 kB / 331.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.01119, allocations: 11.94 kB / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.0112, allocations: 8 kB / 331.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.01123, allocations: 4 kB / 331.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.01127, allocations: 15.92 kB / 331.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01127, allocations: 3.984 kB / 331.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.175e-05/0.01132, allocations: 65.55 kB / 331.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01132, allocations: 0 / 331.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.01148, allocations: 27.94 kB / 331.2 MB, free: 10.54 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.001177/0.01266, allocations: 0.5683 MB / 331.8 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.001e-05/0.01275, allocations: 60.69 kB / 331.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.01275, allocations: 0 / 331.9 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.01278, allocations: 28.8 kB / 331.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.01295, allocations: 26.88 kB / 331.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.01327, allocations: 269.9 kB / 332.2 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.01331, allocations: 71.33 kB / 332.3 MB, free: 9.742 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.01335, allocations: 16.48 kB / 332.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.01341, allocations: 71.36 kB / 332.3 MB, free: 9.656 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01341, allocations: 0 / 332.3 MB, free: 9.656 MB / 314.7 MB Notification: Performance of Templates: time 0.003354/0.01676, allocations: 1.702 MB / 334 MB, free: 7.965 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.1971863079816103]