Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.0009154/0.0009154, allocations: 88.86 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.001786/0.001786, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9485/0.9485, allocations: 177 MB / 205.2 MB, free: 5.031 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.242/0.242, allocations: 34.85 MB / 296.6 MB, free: 388 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325.9 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.333e-05, allocations: 4.844 kB / 325.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002003/0.002016, allocations: 1.631 MB / 327.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006512/0.002667, allocations: 0.533 MB / 328.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.002708, allocations: 0 / 328.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.002883, allocations: 31.78 kB / 328.1 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.003092, allocations: 87.55 kB / 328.2 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.003269, allocations: 87.7 kB / 328.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.003386, allocations: 71.7 kB / 328.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.696e-05/0.003453, allocations: 8 kB / 328.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.003502, allocations: 31.89 kB / 328.4 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.003551, allocations: 19.92 kB / 328.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.003563, allocations: 4 kB / 328.4 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.165e-05/0.003615, allocations: 27.94 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.539e-05/0.00365, allocations: 19.91 kB / 328.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.003672, allocations: 15.94 kB / 328.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003783, allocations: 75.69 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003785, allocations: 0 / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003785, allocations: 0 / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.003788, allocations: 0 / 328.6 MB, free: 4.453 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000281/0.004069, allocations: 294.5 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.004098, allocations: 8.031 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.004122, allocations: 8.922 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.00424, allocations: 138.2 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.004249, allocations: 8.359 kB / 329 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.004266, allocations: 384 / 329 MB, free: 3.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.801e-05/0.004344, allocations: 62.89 kB / 329.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.004351, allocations: 192 / 329.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.004358, allocations: 4.125 kB / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.004362, allocations: 0 / 329.1 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.004381, allocations: 4 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.004557, allocations: 159.1 kB / 329.2 MB, free: 3.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.00467, allocations: 38.48 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.125e-05/0.004681, allocations: 8.922 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.004695, allocations: 4 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.004712, allocations: 34.56 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.004712, allocations: 4 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002092/0.004922, allocations: 85.52 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.004948, allocations: 55.41 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/0.00503, allocations: 160.3 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.005038, allocations: 25.7 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.005064, allocations: 88.12 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.005081, allocations: 19.78 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.005104, allocations: 17.72 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.005173, allocations: 322.8 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.005181, allocations: 4 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.00519, allocations: 8 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.005213, allocations: 20.83 kB / 330.1 MB, free: 2.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.005214, allocations: 3.938 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.563e-05/0.00526, allocations: 53.88 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.005269, allocations: 5.406 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.005272, allocations: 0 / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.005281, allocations: 4 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-05/0.005315, allocations: 15.98 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.005317, allocations: 0 / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.005331, allocations: 0 / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005335, allocations: 8 kB / 330.2 MB, free: 2.652 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 (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 4.616e-05/0.005381, allocations: 108.7 kB / 330.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.005397, allocations: 15.92 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.641e-05/0.005474, allocations: 58.08 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.005475, allocations: 4 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.005476, allocations: 0 / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.005479, allocations: 0 / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.005634, allocations: 202.8 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005636, allocations: 7.875 kB / 330.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.005657, allocations: 8 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.00566, allocations: 8 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.005665, allocations: 4 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005665, allocations: 0 / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005666, allocations: 0 / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.394e-05/0.00573, allocations: 143.5 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.00574, allocations: 15.89 kB / 330.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.005748, allocations: 3.938 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.005777, allocations: 4.281 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.005796, allocations: 7.984 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.005798, allocations: 192 / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.00583, allocations: 41.08 kB / 330.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00583, allocations: 7.938 kB / 330.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001275/0.005957, allocations: 19.92 kB / 330.9 MB, free: 1.945 MB / 298.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.001028/0.006985, allocations: 498.3 kB / 331.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.711e-05/0.007042, allocations: 24.84 kB / 331.4 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007044, allocations: 4 kB / 331.4 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.007062, allocations: 20.78 kB / 331.4 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.007198, allocations: 21.42 kB / 331.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.007432, allocations: 179.2 kB / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.1e-05/0.007463, allocations: 63.34 kB / 331.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.65e-05/0.00749, allocations: 11.97 kB / 331.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.007534, allocations: 55.38 kB / 331.7 MB, free: 1.281 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007535, allocations: 0 / 331.7 MB, free: 1.281 MB / 298.7 MB Notification: Performance of Templates: time 0.002395/0.00993, allocations: 1.239 MB / 332.9 MB, free: 52 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.811429408378899]