Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001331/0.001331, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001754/0.001754, allocations: 164.4 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.9735/0.9735, allocations: 177 MB / 205.2 MB, free: 5.055 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.2719/0.2719, allocations: 34.87 MB / 296.6 MB, free: 472 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.CombiTable2Ds.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.624e-05, allocations: 2.312 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002563/0.002589, allocations: 1.717 MB / 327.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009432/0.003532, allocations: 0.5562 MB / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.003605, allocations: 0 / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.00389, allocations: 47.8 kB / 328.3 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.004212, allocations: 95.53 kB / 328.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.00454, allocations: 139.5 kB / 328.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.0047, allocations: 80.52 kB / 328.6 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.004798, allocations: 24.12 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.004883, allocations: 39.91 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.271e-05/0.004976, allocations: 39.89 kB / 328.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.00499, allocations: 4 kB / 328.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.00509, allocations: 47.92 kB / 328.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.005168, allocations: 27.91 kB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.00519, allocations: 19.92 kB / 328.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.005346, allocations: 95.59 kB / 328.9 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005348, allocations: 0 / 328.9 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005349, allocations: 0 / 328.9 MB, free: 4.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005354, allocations: 0 / 328.9 MB, free: 4.223 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003477/0.005701, allocations: 309.7 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.005734, allocations: 8.031 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.005778, allocations: 12.92 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.005911, allocations: 142.2 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.005919, allocations: 384 / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.00594, allocations: 8.375 kB / 329.3 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.006059, allocations: 66.88 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.006069, allocations: 192 / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.006078, allocations: 12.11 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.006083, allocations: 0 / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.48e-05/0.006108, allocations: 11.98 kB / 329.4 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.006319, allocations: 176.2 kB / 329.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.006449, allocations: 30.56 kB / 329.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.006467, allocations: 16.98 kB / 329.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.006485, allocations: 4 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.006506, allocations: 34.5 kB / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.006507, allocations: 0 / 329.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005438/0.007051, allocations: 205.4 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.007082, allocations: 55.41 kB / 329.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007183, allocations: 156.2 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.007196, allocations: 37.64 kB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.007229, allocations: 96.05 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.007259, allocations: 35.69 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.007292, allocations: 25.7 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.007373, allocations: 330.7 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.00739, allocations: 8 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.007409, allocations: 13.95 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.007453, allocations: 36.78 kB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007454, allocations: 0 / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001445/0.007598, allocations: 66.83 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.00761, allocations: 4 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007615, allocations: 7.984 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.007625, allocations: 4 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.007694, allocations: 23.98 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.007698, allocations: 0 / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.007723, allocations: 8 kB / 330.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.007729, allocations: 4 kB / 330.8 MB, free: 2.152 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 (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 6.505e-05/0.007794, allocations: 124.5 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.007816, allocations: 11.98 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.007933, allocations: 83.59 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007936, allocations: 4 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.007938, allocations: 0 / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.007942, allocations: 4 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.008198, allocations: 274.1 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0082, allocations: 0 / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.008249, allocations: 23.98 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.008252, allocations: 3.984 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.008258, allocations: 4 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.008261, allocations: 4 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.008263, allocations: 8 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.008365, allocations: 177.1 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.008375, allocations: 11.94 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.008388, allocations: 8 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.008427, allocations: 4 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.008458, allocations: 15.92 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.008462, allocations: 0 / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.89e-05/0.008501, allocations: 41.06 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008501, allocations: 3.938 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.008661, allocations: 31.89 kB / 331.6 MB, free: 1.262 MB / 298.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.001286/0.009946, allocations: 0.5676 MB / 332.2 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.01006, allocations: 44.72 kB / 332.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.01006, allocations: 8 kB / 332.2 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.01009, allocations: 36.78 kB / 332.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01026, allocations: 17.48 kB / 332.3 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.01061, allocations: 244.2 kB / 332.5 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.01064, allocations: 67.34 kB / 332.6 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.01068, allocations: 16.61 kB / 332.6 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.01075, allocations: 71.3 kB / 332.6 MB, free: 424 kB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01075, allocations: 0 / 332.6 MB, free: 424 kB / 298.7 MB Notification: Performance of Templates: time 0.003325/0.01407, allocations: 1.669 MB / 334.3 MB, free: 14.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.0379345351830125]