Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001383/0.001383, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001583/0.001583, allocations: 157.3 kB / 24.99 MB, free: 8.797 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 0.9493/0.9493, allocations: 177 MB / 205.2 MB, free: 5.566 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.2531/0.2531, allocations: 34.86 MB / 296.6 MB, free: 0.5625 MB / 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.923e-05, allocations: 2.312 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002148/0.002167, allocations: 1.707 MB / 380.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.00344, allocations: 1.312 MB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.003502, allocations: 0 / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.003716, allocations: 23.84 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.004017, allocations: 83.56 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.004375, allocations: 183.4 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.004539, allocations: 79.7 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.00465, allocations: 8 kB / 382.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.004717, allocations: 43.89 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.778e-05/0.004815, allocations: 31.89 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.004833, allocations: 8 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.004981, allocations: 87.88 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.005037, allocations: 23.92 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.005068, allocations: 15.94 kB / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.005274, allocations: 143.5 kB / 382.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.005277, allocations: 4 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005277, allocations: 0 / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005282, allocations: 0 / 382.5 MB, free: 14.63 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.000429/0.005711, allocations: 435.9 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005745, allocations: 8.031 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.005793, allocations: 12.89 kB / 383 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.005956, allocations: 144.4 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.005967, allocations: 12.38 kB / 383.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.005989, allocations: 384 / 383.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.006144, allocations: 112 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.006156, allocations: 192 / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.006165, allocations: 384 / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.006173, allocations: 384 / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.006209, allocations: 15.88 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.006543, allocations: 295.7 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.876e-05/0.006622, allocations: 31.06 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.006654, allocations: 27.77 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.006677, allocations: 0 / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.006704, allocations: 45.27 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.296e-06/0.006707, allocations: 3.984 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004213/0.007129, allocations: 129.5 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.00717, allocations: 85.05 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.007293, allocations: 196.4 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.007307, allocations: 29.7 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.00737, allocations: 142.9 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.007396, allocations: 23.75 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.007435, allocations: 31.38 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.007577, allocations: 0.4884 MB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.007606, allocations: 15.98 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.007653, allocations: 49.08 kB / 384.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.007705, allocations: 35.67 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007706, allocations: 0 / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001073/0.007813, allocations: 77.52 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.007825, allocations: 4 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.007829, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.007843, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.007922, allocations: 24.02 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.007927, allocations: 0 / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.007953, allocations: 4 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.007959, allocations: 0 / 384.9 MB, free: 11.95 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 (7): * Single equations (assignments): 7 * 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.927e-05/0.008028, allocations: 160.6 kB / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.008052, allocations: 11.89 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.008187, allocations: 90.66 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.00819, allocations: 4 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.008193, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.008196, allocations: 0 / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.008457, allocations: 349.3 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008459, allocations: 0 / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.008501, allocations: 15.98 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008503, allocations: 0 / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.008511, allocations: 4 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.008512, allocations: 0 / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008513, allocations: 0 / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.008644, allocations: 227.8 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.008654, allocations: 7.953 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.008668, allocations: 3.984 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.008711, allocations: 8 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.008749, allocations: 15.92 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.008753, allocations: 0 / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.16e-05/0.008815, allocations: 143.2 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008815, allocations: 0 / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.009019, allocations: 43.86 kB / 386 MB, free: 10.8 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 (7): * Single equations (assignments): 7 * 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.0009525/0.009972, allocations: 479.8 kB / 386.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.01009, allocations: 43.67 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0101, allocations: 0 / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.01013, allocations: 27.61 kB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.01036, allocations: 31.88 kB / 386.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.0107, allocations: 196.8 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01075, allocations: 71.33 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.955e-05/0.01081, allocations: 32.94 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.01085, allocations: 24.48 kB / 386.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01085, allocations: 0 / 386.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of Templates: time 0.003586/0.01443, allocations: 2.003 MB / 388.9 MB, free: 8.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.111523892963305]