Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.0009951/0.0009951, 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.001018/0.001018, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.008/1.008, allocations: 177 MB / 205.9 MB, free: 4.457 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.1504/0.1504, allocations: 34.87 MB / 297.4 MB, free: 13.35 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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.389e-05, allocations: 3.797 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002546/0.002569, allocations: 1.706 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000649/0.003218, allocations: 0.5485 MB / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.381e-05/0.003272, allocations: 0 / 382.3 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.003486, allocations: 51.75 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.00374, allocations: 99.52 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.003967, allocations: 131.6 kB / 382.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.004096, allocations: 83.7 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.004189, allocations: 28.14 kB / 382.7 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.004261, allocations: 39.91 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.004338, allocations: 47.88 kB / 382.8 MB, free: 20 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.004351, allocations: 4 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.004426, allocations: 51.91 kB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.004487, allocations: 23.92 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.004512, allocations: 19.92 kB / 382.9 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.004644, allocations: 99.59 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.502e-06/0.004645, allocations: 0 / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004646, allocations: 0 / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.00465, allocations: 4 kB / 383 MB, free: 19.8 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.0003164/0.004966, allocations: 443.9 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.004999, allocations: 12.03 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.005032, allocations: 8.891 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.005145, allocations: 141.1 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.005155, allocations: 8.312 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.005176, allocations: 12.34 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.153e-05/0.005268, allocations: 62.94 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005279, allocations: 192 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.005287, allocations: 4.375 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.005292, allocations: 4.375 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.005317, allocations: 15.92 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.005543, allocations: 276.2 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.005673, allocations: 43.05 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.005691, allocations: 19.81 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.005712, allocations: 4.031 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.005731, allocations: 41.38 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.005732, allocations: 0 / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004864/0.006218, allocations: 229.5 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.006243, allocations: 55.41 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.006328, allocations: 225.3 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.006334, allocations: 25.7 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.00637, allocations: 158.8 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.006396, allocations: 35.69 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.006431, allocations: 31.36 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.006483, allocations: 0.5001 MB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.0065, allocations: 11.94 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.006517, allocations: 11.98 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.00656, allocations: 47.28 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.006561, allocations: 3.938 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.331e-05/0.006645, allocations: 85.53 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006658, allocations: 9.562 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006662, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.00667, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.00673, allocations: 27.92 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.006733, allocations: 0 / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.006758, allocations: 11.98 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.006764, allocations: 0 / 385.5 MB, free: 17.08 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 4.773e-05/0.006811, allocations: 164.5 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.006834, allocations: 11.95 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.00695, allocations: 106.2 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006952, allocations: 4 kB / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006953, allocations: 0 / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.006956, allocations: 0 / 385.8 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.007188, allocations: 389.2 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007189, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.007235, allocations: 31.92 kB / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.007236, allocations: 0 / 386.2 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007242, allocations: 4 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007243, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007245, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.893e-05/0.007344, allocations: 263 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.007357, allocations: 12.12 kB / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.007368, allocations: 4 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.007408, allocations: 16.05 kB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.007438, allocations: 7.984 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.007444, allocations: 4 kB / 386.5 MB, free: 16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.007483, allocations: 164 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007483, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.007651, allocations: 20 kB / 386.6 MB, free: 15.82 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.000905/0.008556, allocations: 427.1 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.909e-05/0.008655, allocations: 47.61 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008656, allocations: 8 kB / 387.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.008687, allocations: 31.61 kB / 387.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.008893, allocations: 27.97 kB / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.009182, allocations: 265.9 kB / 387.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.881e-05/0.009211, allocations: 71.33 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.009248, allocations: 20.59 kB / 387.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.009297, allocations: 86.14 kB / 387.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009298, allocations: 0 / 387.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Templates: time 0.003083/0.01238, allocations: 1.763 MB / 389.4 MB, free: 13.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.4128782912157476]