Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.0009672/0.0009672, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001335/0.001335, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 1.025/1.025, allocations: 177 MB / 205.9 MB, free: 4.449 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.1765/0.1765, allocations: 34.87 MB / 297.4 MB, free: 13.42 MB / 282.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.Test28,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.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.935e-05/4.159e-05, allocations: 4.281 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003717/0.003758, allocations: 1.649 MB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.00495, allocations: 0.5369 MB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.005075, allocations: 4 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.005456, allocations: 103.6 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004154/0.005871, allocations: 127.5 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.006253, allocations: 119.6 kB / 382.6 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.006463, allocations: 91.73 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.006578, allocations: 8 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.006681, allocations: 51.88 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.006809, allocations: 71.84 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.006828, allocations: 0 / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.006947, allocations: 47.92 kB / 382.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.007007, allocations: 27.86 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.00704, allocations: 23.86 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.007282, allocations: 91.66 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.007287, allocations: 0 / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007288, allocations: 4 kB / 383 MB, free: 19.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.007294, allocations: 0 / 383 MB, free: 19.78 MB / 314.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.0005017/0.007796, allocations: 463.7 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.007844, allocations: 8.031 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.007908, allocations: 16.84 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.008103, allocations: 157.1 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.008117, allocations: 384 / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.008148, allocations: 8.375 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.008278, allocations: 62.92 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.008291, allocations: 192 / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.008299, allocations: 384 / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.008305, allocations: 384 / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.339e-05/0.008338, allocations: 15.92 kB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.008684, allocations: 272.3 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.008758, allocations: 39.05 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.00878, allocations: 11.69 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.008805, allocations: 4 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.008826, allocations: 41.38 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.008828, allocations: 0 / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006149/0.009443, allocations: 161.4 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.00947, allocations: 55.39 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.009628, allocations: 256.9 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.009637, allocations: 25.7 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.009692, allocations: 170.8 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.009723, allocations: 23.75 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.009775, allocations: 35.36 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.009829, allocations: 0.4962 MB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.009846, allocations: 8 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.009861, allocations: 7.984 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.009898, allocations: 35.67 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.009899, allocations: 3.938 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.08e-05/0.00998, allocations: 77.47 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.009993, allocations: 8 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009997, allocations: 0 / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01001, allocations: 0 / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.01008, allocations: 23.98 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01008, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.0101, allocations: 4 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.01011, allocations: 0 / 385.4 MB, free: 17.12 MB / 314.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 4.911e-05/0.01016, allocations: 164.6 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.01018, allocations: 15.89 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.0103, allocations: 95.31 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.0103, allocations: 0 / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.0103, allocations: 0 / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01031, allocations: 3.984 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.01053, allocations: 353.6 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01053, allocations: 4 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.01057, allocations: 15.98 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01057, allocations: 0 / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.01058, allocations: 4 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01058, allocations: 4 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01058, allocations: 0 / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.987e-05/0.01068, allocations: 239.4 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.01069, allocations: 11.91 kB / 386.3 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.01071, allocations: 4 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.01074, allocations: 8.031 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.01077, allocations: 3.984 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.01077, allocations: 4 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.01082, allocations: 175.1 kB / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01082, allocations: 0 / 386.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.01099, allocations: 23.94 kB / 386.5 MB, free: 15.93 MB / 314.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.000887/0.01188, allocations: 438 kB / 387 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.403e-05/0.01198, allocations: 31.67 kB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01198, allocations: 4 kB / 387 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/0.012, allocations: 31.59 kB / 387 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01223, allocations: 32.22 kB / 387 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.01253, allocations: 237.4 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.01256, allocations: 75.33 kB / 387.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.01259, allocations: 8.734 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.01264, allocations: 86.25 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01264, allocations: 0 / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of Templates: time 0.003251/0.01589, allocations: 1.576 MB / 389 MB, free: 13.57 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.4382570958696306]