Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0008578/0.0008578, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001058/0.001058, allocations: 160.5 kB / 24.55 MB, free: 16 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.9616/0.9616, allocations: 177 MB / 204.8 MB, free: 5.57 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.2792/0.2792, allocations: 34.85 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.CombiTable1Ds.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.707e-05, allocations: 6.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002186/0.002213, allocations: 1.628 MB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007556/0.002969, allocations: 0.5369 MB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.003025, allocations: 0 / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.003241, allocations: 23.8 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.003499, allocations: 83.55 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.003714, allocations: 91.62 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.003853, allocations: 71.77 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.003945, allocations: 11.86 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.608e-05/0.004001, allocations: 31.91 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.004054, allocations: 15.92 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004068, allocations: 4 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.004133, allocations: 31.92 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.004179, allocations: 23.91 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.004204, allocations: 11.94 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004341, allocations: 63.75 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.004343, allocations: 0 / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.004345, allocations: 4 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004349, allocations: 0 / 381.4 MB, free: 15.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003729/0.004722, allocations: 408.2 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.004755, allocations: 8.031 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.004792, allocations: 16.89 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.004918, allocations: 136.5 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.004926, allocations: 4.312 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.004949, allocations: 8.375 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.005052, allocations: 50.95 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.005061, allocations: 4.188 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005069, allocations: 384 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005076, allocations: 384 / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.165e-05/0.005107, allocations: 11.92 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.005368, allocations: 271.8 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.005529, allocations: 43 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.00555, allocations: 15.77 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.005572, allocations: 8 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.00559, allocations: 33.39 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.005591, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003173/0.005909, allocations: 105.3 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.005938, allocations: 55.41 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.006042, allocations: 197.9 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.006052, allocations: 29.7 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.006101, allocations: 138.9 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.006122, allocations: 19.78 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.00615, allocations: 23.38 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.006261, allocations: 0.4923 MB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.006277, allocations: 8 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.006291, allocations: 7.938 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.00633, allocations: 35.61 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006331, allocations: 0 / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.134e-05/0.006403, allocations: 57.59 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.006413, allocations: 4 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006417, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.006437, allocations: 3.984 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.006487, allocations: 8.25 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.006493, allocations: 4 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.006511, allocations: 8 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.006516, allocations: 3.938 kB / 383.6 MB, free: 13.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 (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.246e-05/0.006578, allocations: 164.6 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.006598, allocations: 11.89 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.006709, allocations: 66.16 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006711, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.006714, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.006717, allocations: 3.984 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.006935, allocations: 317.3 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006937, allocations: 4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.00697, allocations: 15.98 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.006972, allocations: 0 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006979, allocations: 4 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006981, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006981, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.971e-05/0.007081, allocations: 211.8 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.007089, allocations: 7.953 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.007099, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.866e-05/0.007128, allocations: 4 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.007154, allocations: 3.984 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.007157, allocations: 8 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.749e-05/0.007214, allocations: 154.2 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007214, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.007371, allocations: 12 kB / 384.6 MB, free: 11.98 MB / 362.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.0008349/0.008206, allocations: 380.6 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.767e-05/0.008293, allocations: 31.67 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008295, allocations: 0 / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.008316, allocations: 23.62 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.008525, allocations: 19.92 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.00882, allocations: 174.6 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.761e-05/0.008858, allocations: 63.34 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.701e-05/0.008885, allocations: 15.97 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.008911, allocations: 12.5 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008911, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.002858/0.01177, allocations: 1.154 MB / 386.4 MB, free: 10.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.249229019973427]