Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.0009942/0.0009942, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001083/0.001083, allocations: 165.3 kB / 24.91 MB, free: 8.766 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.057/1.057, allocations: 177 MB / 205.2 MB, free: 5.449 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.2814/0.2814, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.289e-05, allocations: 3.734 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002424/0.002447, allocations: 1.709 MB / 327.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.003335, allocations: 0.533 MB / 328.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.003391, allocations: 4 kB / 328.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.003657, allocations: 75.64 kB / 328.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.003881, allocations: 95.53 kB / 328.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.004084, allocations: 95.69 kB / 328.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.004223, allocations: 83.75 kB / 328.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.004315, allocations: 15.92 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.004392, allocations: 43.89 kB / 328.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.004491, allocations: 39.89 kB / 328.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.004505, allocations: 4 kB / 328.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-05/0.004583, allocations: 43.92 kB / 328.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.004629, allocations: 19.92 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.004658, allocations: 23.86 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.004805, allocations: 83.72 kB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004808, allocations: 0 / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004809, allocations: 4 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.004813, allocations: 3.938 kB / 328.8 MB, free: 4.23 MB / 298.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.000331/0.005144, allocations: 310.4 kB / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.005176, allocations: 12.03 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.005205, allocations: 8.922 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005345, allocations: 137.6 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.005353, allocations: 4.375 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.005372, allocations: 4.375 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/0.005463, allocations: 54.94 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005474, allocations: 4.125 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005481, allocations: 8.375 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.005486, allocations: 4.312 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.367e-05/0.00551, allocations: 15.92 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.005732, allocations: 167.1 kB / 329.6 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.005782, allocations: 34.62 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.0058, allocations: 12.8 kB / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.005816, allocations: 0 / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.005841, allocations: 34.56 kB / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.005842, allocations: 0 / 329.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004478/0.00629, allocations: 149.7 kB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.00632, allocations: 51.41 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.006434, allocations: 177 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.006444, allocations: 25.7 kB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.006481, allocations: 100.1 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.006504, allocations: 23.75 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.006534, allocations: 25.69 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.006617, allocations: 322.8 kB / 330.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.00663, allocations: 4 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.006643, allocations: 12 kB / 330.5 MB, free: 2.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.006681, allocations: 32.98 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006683, allocations: 0 / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.091e-05/0.006754, allocations: 61.61 kB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.006766, allocations: 4 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.006771, allocations: 0 / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.006781, allocations: 0 / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.006851, allocations: 27.98 kB / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.006854, allocations: 0 / 330.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.006874, allocations: 3.984 kB / 330.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.00688, allocations: 4 kB / 330.6 MB, free: 2.266 MB / 298.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 (8): * Single equations (assignments): 8 * 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.549e-05/0.006946, allocations: 116.6 kB / 330.7 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.006969, allocations: 15.94 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.007082, allocations: 75.06 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007084, allocations: 0 / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.007085, allocations: 0 / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.007089, allocations: 0 / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.007326, allocations: 251.5 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.007327, allocations: 0 / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.007369, allocations: 23.92 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007372, allocations: 4.031 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.007376, allocations: 0 / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007378, allocations: 0 / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.007381, allocations: 4 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.998e-05/0.007471, allocations: 160.3 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-06/0.00748, allocations: 7.953 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.007492, allocations: 4 kB / 331.3 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.007528, allocations: 7.984 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.007552, allocations: 3.938 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.007558, allocations: 7.984 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.007598, allocations: 48.36 kB / 331.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007598, allocations: 0 / 331.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.007737, allocations: 27.92 kB / 331.4 MB, free: 1.453 MB / 298.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 (8): * Single equations (assignments): 8 * 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.001273/0.00901, allocations: 0.5671 MB / 331.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.00909, allocations: 28.84 kB / 332 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.009095, allocations: 7.938 kB / 332 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.009119, allocations: 20.84 kB / 332 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.009294, allocations: 20.92 kB / 332 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.009606, allocations: 220.2 kB / 332.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.009648, allocations: 71.33 kB / 332.3 MB, free: 0.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.009685, allocations: 21.03 kB / 332.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.009736, allocations: 59.36 kB / 332.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.009737, allocations: 0 / 332.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of Templates: time 0.00319/0.01293, allocations: 1.465 MB / 333.8 MB, free: 15.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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: 2.973054080735892]