Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.000905/0.000905, allocations: 88.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.0009089/0.0009089, allocations: 161.9 kB / 24.91 MB, free: 9.152 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.9452/0.9452, allocations: 177 MB / 205.2 MB, free: 5.453 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.2488/0.2488, allocations: 34.87 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.CombiTable1Dv.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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.248e-05, allocations: 3.156 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002979/0.003001, allocations: 1.641 MB / 327.6 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004031, allocations: 0.5485 MB / 328.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.004089, allocations: 0 / 328.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.004323, allocations: 23.84 kB / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.004631, allocations: 87.55 kB / 328.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.004955, allocations: 107.6 kB / 328.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.005115, allocations: 71.77 kB / 328.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.005216, allocations: 11.98 kB / 328.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.005288, allocations: 31.91 kB / 328.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.005347, allocations: 11.94 kB / 328.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.005361, allocations: 0 / 328.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.005443, allocations: 39.97 kB / 328.5 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.005491, allocations: 19.92 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.00552, allocations: 7.938 kB / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.005684, allocations: 83.61 kB / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.005686, allocations: 0 / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005687, allocations: 0 / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.00569, allocations: 0 / 328.6 MB, free: 4.473 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.0003877/0.006078, allocations: 290.6 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.006114, allocations: 11.97 kB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.006149, allocations: 8.922 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.006304, allocations: 134.2 kB / 329 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.006316, allocations: 8.359 kB / 329 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.006336, allocations: 4.375 kB / 329 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.006438, allocations: 58.89 kB / 329.1 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006449, allocations: 4.172 kB / 329.1 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.006457, allocations: 4.125 kB / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.006463, allocations: 0 / 329.1 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.006488, allocations: 4 kB / 329.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.006744, allocations: 167.2 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.006898, allocations: 37.33 kB / 329.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.985e-05/0.006918, allocations: 8.859 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.006934, allocations: 4 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.006958, allocations: 30.56 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.006959, allocations: 0 / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003095/0.007269, allocations: 89.52 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.007304, allocations: 55.41 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.00743, allocations: 156.3 kB / 329.7 MB, free: 3.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.007444, allocations: 29.7 kB / 329.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.007487, allocations: 96.11 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.00751, allocations: 15.8 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.007546, allocations: 21.7 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.007649, allocations: 326.8 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.007663, allocations: 4 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.007675, allocations: 0 / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.007712, allocations: 23.67 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007713, allocations: 0 / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.213e-05/0.007795, allocations: 57.75 kB / 330.2 MB, free: 2.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.007807, allocations: 4 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.007812, allocations: 3.984 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.007825, allocations: 0 / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.007876, allocations: 8 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.00788, allocations: 0 / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.007906, allocations: 15.94 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.007912, allocations: 0 / 330.2 MB, free: 2.66 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 6.941e-05/0.007981, allocations: 116.7 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.00801, allocations: 7.938 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.008122, allocations: 62.08 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008124, allocations: 0 / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.008125, allocations: 0 / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.008128, allocations: 4 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.008382, allocations: 206.8 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.008385, allocations: 3.938 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.008422, allocations: 19.92 kB / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.008424, allocations: 0 / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.008429, allocations: 0 / 330.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00843, allocations: 4 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008431, allocations: 0 / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.008534, allocations: 139.5 kB / 330.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.00855, allocations: 19.88 kB / 330.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.008563, allocations: 256 / 330.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.681e-05/0.00862, allocations: 4 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.008652, allocations: 4 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.008658, allocations: 8 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.266e-05/0.00871, allocations: 41.27 kB / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008711, allocations: 0 / 330.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.008951, allocations: 19.94 kB / 330.9 MB, free: 1.953 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.001418/0.01037, allocations: 0.4896 MB / 331.4 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.128e-05/0.01045, allocations: 24.84 kB / 331.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.01045, allocations: 4 kB / 331.4 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.01048, allocations: 12.8 kB / 331.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01069, allocations: 25.98 kB / 331.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.01103, allocations: 183.2 kB / 331.6 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.01107, allocations: 67.28 kB / 331.7 MB, free: 1.352 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.01111, allocations: 7.984 kB / 331.7 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.01118, allocations: 59.36 kB / 331.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01118, allocations: 0 / 331.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of Templates: time 0.003405/0.01458, allocations: 1.256 MB / 333 MB, free: 40 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.9118484002538025]