Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.0009864/0.0009864, allocations: 84.34 kB / 22.21 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.001376/0.001376, allocations: 166.8 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.012/1.012, allocations: 177 MB / 205.9 MB, free: 4.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.1497/0.1497, allocations: 34.89 MB / 297.4 MB, free: 13.33 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.516e-05, allocations: 3.297 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.00342/0.003455, allocations: 1.674 MB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.00467, allocations: 0.5486 MB / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004796, allocations: 0 / 382.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.005185, allocations: 35.77 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.005665, allocations: 83.55 kB / 382.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.006196, allocations: 119.6 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.006514, allocations: 91.75 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.006709, allocations: 19.92 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.006837, allocations: 47.89 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.006982, allocations: 35.89 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.007006, allocations: 4 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.007157, allocations: 51.86 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.007226, allocations: 23.91 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.007261, allocations: 19.88 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.007522, allocations: 95.7 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.007529, allocations: 0 / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.007531, allocations: 0 / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.007538, allocations: 0 / 382.9 MB, free: 19.87 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005663/0.008104, allocations: 439.9 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.008151, allocations: 15.97 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.008213, allocations: 20.88 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.008399, allocations: 140.4 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.008413, allocations: 4.375 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.008441, allocations: 8.375 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.008598, allocations: 70.44 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.008619, allocations: 12.12 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.00863, allocations: 384 / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.008638, allocations: 384 / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.484e-05/0.008693, allocations: 27.84 kB / 383.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.009101, allocations: 288.3 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.009204, allocations: 50.98 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.009233, allocations: 23.67 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.009256, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.009279, allocations: 41.33 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.00928, allocations: 0 / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007379/0.01002, allocations: 209.5 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.01004, allocations: 63.41 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.01016, allocations: 204.9 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.01017, allocations: 25.7 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.01021, allocations: 150.8 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.01025, allocations: 47.58 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.0103, allocations: 39.36 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.01037, allocations: 0.5 MB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.0104, allocations: 8 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.01043, allocations: 15.98 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.01051, allocations: 43.67 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01051, allocations: 3.938 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001458/0.01065, allocations: 99.95 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.01067, allocations: 4 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01068, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.01069, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.01079, allocations: 23.98 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.0108, allocations: 0 / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.01083, allocations: 15.98 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01084, allocations: 4 kB / 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 (13): * Single equations (assignments): 13 * 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.934e-05/0.01091, allocations: 164.5 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.01095, allocations: 19.91 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.01116, allocations: 115.1 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01117, allocations: 4 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01117, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01117, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.01156, allocations: 393.5 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.01157, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.01167, allocations: 23.94 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.01167, allocations: 7.922 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01168, allocations: 4 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.01169, allocations: 4.031 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.01169, allocations: 3.938 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.01188, allocations: 257.5 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.01189, allocations: 15.91 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.01191, allocations: 4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.01198, allocations: 4 kB / 386.4 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.01202, allocations: 15.91 kB / 386.4 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.01202, allocations: 7.984 kB / 386.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.01208, allocations: 151.2 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01208, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.01236, allocations: 27.98 kB / 386.6 MB, free: 15.84 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 (13): * Single equations (assignments): 13 * 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.001343/0.01371, allocations: 427.9 kB / 387 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.01386, allocations: 59.59 kB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01386, allocations: 0 / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.01391, allocations: 39.61 kB / 387.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.01424, allocations: 26.55 kB / 387.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.01471, allocations: 247.7 kB / 387.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.01475, allocations: 71.2 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.968e-05/0.01482, allocations: 16.47 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.01489, allocations: 90.19 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01489, allocations: 0 / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of Templates: time 0.004874/0.01977, allocations: 1.768 MB / 389.3 MB, free: 13.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.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.2818196546286345]