Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.000954/0.000954, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001052/0.001052, allocations: 166 kB / 24.82 MB, free: 8.918 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.9854/0.9854, allocations: 177 MB / 205.2 MB, free: 5.465 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.289/0.289, allocations: 34.86 MB / 296.6 MB, free: 0.4961 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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.926e-05, allocations: 4.844 kB / 379.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002365/0.002395, allocations: 1.709 MB / 381 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007966/0.003191, allocations: 0.5679 MB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.73e-05/0.003269, allocations: 4 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.003565, allocations: 59.67 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.003841, allocations: 99.47 kB / 381.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.004142, allocations: 175.5 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.004302, allocations: 91.75 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.004411, allocations: 24.16 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.00448, allocations: 43.89 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.907e-05/0.004559, allocations: 51.88 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.004573, allocations: 4 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.004654, allocations: 51.92 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.004712, allocations: 27.91 kB / 382.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.004739, allocations: 19.92 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.004877, allocations: 99.53 kB / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004879, allocations: 0 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004879, allocations: 0 / 382.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.045e-06/0.004882, allocations: 0 / 382.3 MB, free: 14.78 MB / 362.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.0003661/0.005248, allocations: 451.9 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.005284, allocations: 12.03 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.005315, allocations: 12.89 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.005433, allocations: 154.5 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.005441, allocations: 384 / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.005457, allocations: 4.375 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.288e-05/0.00555, allocations: 62.94 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005559, allocations: 4.172 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.005567, allocations: 8.375 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005572, allocations: 384 / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.005601, allocations: 19.86 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.005856, allocations: 284.2 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.005978, allocations: 51.08 kB / 383.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.005996, allocations: 11.69 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.006014, allocations: 0 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.006033, allocations: 37.39 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.006034, allocations: 0 / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004729/0.006507, allocations: 225.8 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.006531, allocations: 55.41 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.006696, allocations: 226.5 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.006711, allocations: 29.7 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.006782, allocations: 154.8 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.006821, allocations: 35.69 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.006872, allocations: 35.36 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.007038, allocations: 0.5001 MB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.007069, allocations: 8.062 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.007099, allocations: 19.98 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.007177, allocations: 47.61 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.007179, allocations: 3.938 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001472/0.007327, allocations: 85.86 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.007341, allocations: 4 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007346, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.007361, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.007455, allocations: 31.92 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.007459, allocations: 0 / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.007497, allocations: 7.984 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.007505, allocations: 4 kB / 384.8 MB, free: 12.03 MB / 362.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 7.425e-05/0.00758, allocations: 164.5 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.007606, allocations: 15.91 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.007797, allocations: 107 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007799, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.007801, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007805, allocations: 3.984 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.008228, allocations: 389.1 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.00823, allocations: 4 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.008304, allocations: 24.05 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.008309, allocations: 4 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.008317, allocations: 3.984 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.008321, allocations: 4 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008322, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.008544, allocations: 263 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.00856, allocations: 11.91 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.008577, allocations: 4 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.008652, allocations: 4 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.008687, allocations: 11.98 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.008694, allocations: 4 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.391e-05/0.008778, allocations: 163.8 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008778, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.009032, allocations: 27.98 kB / 386 MB, free: 10.76 MB / 362.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.001173/0.01021, allocations: 430.3 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.01034, allocations: 63.53 kB / 386.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01034, allocations: 0 / 386.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.01039, allocations: 35.61 kB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.01071, allocations: 27.98 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.01115, allocations: 268.5 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.354e-05/0.0112, allocations: 79.33 kB / 386.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.01125, allocations: 12.62 kB / 386.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.01134, allocations: 86.19 kB / 387 MB, free: 9.844 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01134, allocations: 0 / 387 MB, free: 9.844 MB / 362.7 MB Notification: Performance of Templates: time 0.004292/0.01563, allocations: 1.811 MB / 388.8 MB, free: 8.047 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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: 2.9951766040176153]