Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001223/0.001223, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001196/0.001196, allocations: 158.4 kB / 25.61 MB, free: 8.887 MB / 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.073/1.073, allocations: 177 MB / 205.9 MB, free: 4.445 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.1946/0.1946, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.015e-05, allocations: 5.156 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002183/0.002204, allocations: 1.705 MB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007281/0.002932, allocations: 0.5639 MB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.003003, allocations: 0 / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.003276, allocations: 79.64 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.003536, allocations: 111.5 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.003861, allocations: 171.5 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.004083, allocations: 99.67 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.004198, allocations: 16.22 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.004282, allocations: 51.88 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.004391, allocations: 59.86 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.004407, allocations: 4 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.004503, allocations: 47.92 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.392e-05/0.004587, allocations: 27.92 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.004621, allocations: 15.92 kB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.004842, allocations: 111.5 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004845, allocations: 0 / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.004846, allocations: 0 / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.004858, allocations: 0 / 383.1 MB, free: 19.65 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004235/0.005281, allocations: 451.8 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.005323, allocations: 12.03 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.005361, allocations: 16.84 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.005493, allocations: 153.3 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.005505, allocations: 8.359 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.005524, allocations: 4.375 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005628, allocations: 66.88 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.00564, allocations: 192 / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005648, allocations: 384 / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005654, allocations: 4.375 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.925e-05/0.005683, allocations: 23.8 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.005951, allocations: 280.4 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.006092, allocations: 43.05 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.006111, allocations: 15.72 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.006128, allocations: 4.125 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.006145, allocations: 37.39 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.006146, allocations: 0 / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005/0.006646, allocations: 229.6 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.006672, allocations: 51.41 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.00676, allocations: 237.8 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.006768, allocations: 25.7 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.006817, allocations: 162.8 kB / 384.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.006843, allocations: 39.67 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.006873, allocations: 35.3 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.006932, allocations: 0.5001 MB / 385.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.006952, allocations: 12.17 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.006972, allocations: 15.94 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.007018, allocations: 50.17 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007019, allocations: 3.938 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.766e-05/0.007107, allocations: 85.59 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.00712, allocations: 5.562 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.007125, allocations: 3.938 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.007136, allocations: 3.984 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.007195, allocations: 27.92 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007199, allocations: 0 / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.007223, allocations: 8 kB / 385.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.00723, allocations: 4 kB / 385.7 MB, free: 16.88 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 (11): * Single equations (assignments): 11 * 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.288e-05/0.007283, allocations: 164.5 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.007306, allocations: 19.89 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.007436, allocations: 107 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007438, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.007441, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.007445, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.00771, allocations: 389.2 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.007712, allocations: 3.938 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.007765, allocations: 24.05 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007767, allocations: 7.938 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.007776, allocations: 4 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.007778, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007779, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.00789, allocations: 259.1 kB / 386.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.0079, allocations: 7.953 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.007914, allocations: 4 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.007952, allocations: 7.984 kB / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.007987, allocations: 7.984 kB / 386.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.007994, allocations: 8 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.697e-05/0.008041, allocations: 180.1 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008041, allocations: 0 / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.008205, allocations: 31.92 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008881/0.009093, allocations: 426.6 kB / 387.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.009198, allocations: 51.61 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009199, allocations: 0 / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.009233, allocations: 39.59 kB / 387.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.009447, allocations: 36.25 kB / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.009812, allocations: 278.9 kB / 387.7 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.88e-05/0.009851, allocations: 87.17 kB / 387.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.198e-05/0.009893, allocations: 12.5 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.009952, allocations: 86.19 kB / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.009952, allocations: 0 / 387.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003482/0.01343, allocations: 1.84 MB / 389.7 MB, free: 12.89 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.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.6374302729964256]