Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001/0.001, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001011/0.001011, allocations: 160.5 kB / 24.55 MB, free: 20 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 1.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.562 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.2631/0.2631, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.349e-05, allocations: 4.844 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002523/0.002546, allocations: 1.654 MB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.003363, allocations: 0.5408 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.00342, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.003698, allocations: 103.6 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.003972, allocations: 107.5 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.004194, allocations: 91.69 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004355, allocations: 91.67 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.00445, allocations: 19.92 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.004516, allocations: 39.89 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.004605, allocations: 59.86 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.004619, allocations: 8 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.004705, allocations: 39.98 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.004758, allocations: 19.92 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004792, allocations: 19.92 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.004955, allocations: 87.61 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.004958, allocations: 4 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004958, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004962, allocations: 3.938 kB / 381.7 MB, free: 15.18 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.0004398/0.005402, allocations: 451.8 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.00544, allocations: 12.03 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.005485, allocations: 12.89 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.005631, allocations: 152.4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.005641, allocations: 384 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.005663, allocations: 8.375 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.005789, allocations: 58.94 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.005801, allocations: 192 / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.005815, allocations: 12.36 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.005824, allocations: 4.312 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.005861, allocations: 7.938 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.006182, allocations: 299.7 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.629e-05/0.006259, allocations: 50.98 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.006282, allocations: 11.69 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.006308, allocations: 3.984 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.006335, allocations: 41.33 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006336, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000571/0.006907, allocations: 169.3 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.006939, allocations: 51.41 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.007106, allocations: 249.9 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.007119, allocations: 29.7 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.007189, allocations: 162.8 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.007216, allocations: 27.83 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.007259, allocations: 27.36 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.007392, allocations: 0.504 MB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.007415, allocations: 4 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.007436, allocations: 11.94 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.007492, allocations: 35.67 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007493, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001128/0.007606, allocations: 77.58 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.00762, allocations: 4 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.007625, allocations: 4 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007638, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.007716, allocations: 15.98 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007721, allocations: 4.25 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.007745, allocations: 4 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.007751, allocations: 0 / 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.893e-05/0.00782, allocations: 160.6 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.00785, allocations: 15.84 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.008006, allocations: 99.09 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008008, allocations: 4 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008012, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008015, allocations: 3.938 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.008379, allocations: 381 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008381, allocations: 0 / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.008428, allocations: 19.94 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.00843, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.00844, allocations: 7.984 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.008443, allocations: 4 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008444, allocations: 0 / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.008583, allocations: 239.5 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.008593, allocations: 7.953 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.008607, allocations: 4 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.008661, allocations: 11.92 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.00869, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.008695, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.452e-05/0.00879, allocations: 179.1 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00879, allocations: 0 / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002409/0.009031, allocations: 23.88 kB / 385.3 MB, free: 11.27 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.001019/0.01005, allocations: 423.9 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01018, 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.783e-06/0.01018, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.01025, allocations: 27.69 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.01052, allocations: 19.36 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.0003698/0.01089, allocations: 245.8 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.01094, allocations: 63.34 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.448e-05/0.01098, allocations: 16.78 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.01101, allocations: 20.5 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01101, allocations: 0 / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003664/0.01468, allocations: 1.48 MB / 387.6 MB, free: 9.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.2125776088796556]