Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009525/0.0009525, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009206/0.0009206, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.021/1.021, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2805/0.2805, allocations: 34.87 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.587e-05, allocations: 3.859 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.00345/0.003476, allocations: 1.678 MB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.004573, allocations: 0.5719 MB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.004641, allocations: 0 / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.005264, allocations: 462.9 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.005751, allocations: 291.3 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.006126, allocations: 175.4 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.006384, allocations: 179.6 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.006507, allocations: 15.98 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.006615, allocations: 115.8 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.006808, allocations: 247.6 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.006827, allocations: 0 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.0069, allocations: 35.92 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.006995, allocations: 95.58 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.00704, allocations: 39.75 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.007253, allocations: 195.2 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.007255, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007256, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.007261, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.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.0005511/0.007812, allocations: 0.6932 MB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.007849, allocations: 12.02 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.007904, allocations: 44.66 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.008094, allocations: 252.7 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.008105, allocations: 8.375 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.00813, allocations: 4.375 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.008249, allocations: 66.94 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.008258, allocations: 192 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.008267, allocations: 384 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.008275, allocations: 384 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.603e-05/0.008311, allocations: 19.91 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.008716, allocations: 427.6 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.008882, allocations: 43.06 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.008904, allocations: 11.77 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.008925, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.008946, allocations: 41.33 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.008947, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003585/0.009306, allocations: 192.7 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.009341, allocations: 51.41 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.009742, allocations: 0.6393 MB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.009752, allocations: 25.7 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.009889, allocations: 278.8 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.009909, allocations: 15.8 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.00994, allocations: 27.36 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003802/0.01032, allocations: 0.5548 MB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.01034, allocations: 8 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.01035, allocations: 7.984 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.01039, allocations: 19.69 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01039, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.776e-05/0.01049, allocations: 101.3 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.0105, allocations: 4 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01051, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.01053, allocations: 7.938 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-05/0.01057, allocations: 11.98 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.01058, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.0106, allocations: 4 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.01061, allocations: 4 kB / 386.4 MB, free: 10.19 MB / 362.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 (5): * Single equations (assignments): 5 * 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.284e-05/0.01068, allocations: 156.6 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.01072, allocations: 47.66 kB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.01085, allocations: 97.42 kB / 386.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01085, allocations: 0 / 386.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01085, allocations: 4.062 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.01086, allocations: 3.984 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.01117, allocations: 469.3 kB / 387.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01117, allocations: 4 kB / 387.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.0112, allocations: 12 kB / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.0112, allocations: 0 / 387.2 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.01121, allocations: 3.984 kB / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01121, allocations: 0 / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01121, allocations: 0 / 387.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.01133, allocations: 247.5 kB / 387.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.01135, allocations: 39.95 kB / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.01137, allocations: 0 / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.666e-05/0.0114, allocations: 4 kB / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.01143, allocations: 11.97 kB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.01143, allocations: 4 kB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.01167, allocations: 430.8 kB / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01167, allocations: 0 / 387.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.01183, allocations: 20 kB / 387.9 MB, free: 8.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000769/0.0126, allocations: 388.1 kB / 388.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.01269, allocations: 31.61 kB / 388.3 MB, free: 8.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01269, allocations: 4 kB / 388.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.01271, allocations: 19.69 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01294, allocations: 25.89 kB / 388.4 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.01353, allocations: 0.5812 MB / 389 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.264e-05/0.0136, allocations: 119.2 kB / 389.1 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.01364, allocations: 27.83 kB / 389.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.01367, allocations: 20.5 kB / 389.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01367, allocations: 0 / 389.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of Templates: time 0.003676/0.01735, allocations: 1.386 MB / 390.5 MB, free: 6.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.2861331929452717]