Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001461/0.001461, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.00174/0.00174, allocations: 156.5 kB / 24.56 MB, free: 8 kB / 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.9961/0.9961, allocations: 177 MB / 204.8 MB, free: 5.574 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.2713/0.2713, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.013e-05, allocations: 2.875 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002026/0.002046, allocations: 1.648 MB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007195/0.002765, allocations: 0.5486 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.002816, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.003057, allocations: 79.64 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.003307, allocations: 107.5 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.003518, allocations: 111.7 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003659, allocations: 91.69 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.003753, allocations: 11.98 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.003815, allocations: 43.89 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.003917, allocations: 55.88 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003932, allocations: 0 / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.004008, allocations: 51.91 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.00405, allocations: 19.92 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.004077, allocations: 11.94 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.004228, allocations: 95.59 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.00423, allocations: 4 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004231, allocations: 3.938 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004234, allocations: 0 / 381.7 MB, free: 15.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003988/0.004633, allocations: 439.9 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.004677, allocations: 12.03 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.004722, allocations: 16.84 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.004886, allocations: 149.1 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.004897, allocations: 384 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.00492, allocations: 4.375 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.005034, allocations: 62.88 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.005044, allocations: 192 / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.005053, allocations: 8.375 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.00506, allocations: 384 / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.005092, allocations: 19.92 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.005368, allocations: 295.7 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/0.005432, allocations: 46.98 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.005454, allocations: 15.77 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.005471, allocations: 0 / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.005492, allocations: 41.33 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.005493, allocations: 0 / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004951/0.005988, allocations: 173.3 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.006016, allocations: 51.41 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.006147, allocations: 246.3 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.006155, allocations: 25.7 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.006211, allocations: 154.9 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.006236, allocations: 31.69 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.006264, allocations: 27.36 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.006362, allocations: 0.5001 MB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.006382, allocations: 4 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.0064, allocations: 12 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.006446, allocations: 35.67 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006447, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.261e-05/0.00653, allocations: 85.59 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.00654, allocations: 4 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.006544, allocations: 0 / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.006557, allocations: 4 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.00663, allocations: 19.92 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.006635, allocations: 320 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.006652, allocations: 0 / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.006658, allocations: 8 kB / 384.1 MB, free: 12.5 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 (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.003e-05/0.006718, allocations: 160.6 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.006739, allocations: 15.84 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.006862, allocations: 95.11 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.006864, allocations: 0 / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.006867, allocations: 3.938 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00687, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.007151, allocations: 377 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.007153, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.007188, allocations: 12.03 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.00719, allocations: 4 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.007198, allocations: 7.984 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.007204, allocations: 8 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007205, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.007323, allocations: 239.4 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.007332, allocations: 7.953 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007344, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.007382, allocations: 11.98 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.00741, allocations: 7.938 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.007414, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.962e-05/0.007483, allocations: 175.1 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007484, allocations: 0 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.007654, allocations: 27.88 kB / 385.3 MB, free: 11.28 MB / 362.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.0009039/0.008558, allocations: 425.5 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.008667, allocations: 51.58 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008669, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.801e-05/0.008697, allocations: 23.67 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.008903, allocations: 30.19 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.009231, allocations: 237.8 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.009272, allocations: 67.33 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.843e-05/0.00931, allocations: 16.72 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.009338, allocations: 16.48 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.009339, allocations: 0 / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003072/0.01241, allocations: 1.508 MB / 387.6 MB, free: 9.004 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.1120694298297167]