Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.00136/0.00136, 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.001216/0.001216, allocations: 160.1 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.071/1.071, allocations: 177 MB / 205.9 MB, free: 4.461 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.1846/0.1846, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.009e-05, allocations: 4.641 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002378/0.002408, allocations: 1.646 MB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.003219, allocations: 0.5408 MB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.003299, allocations: 4 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.003617, allocations: 91.67 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.003934, allocations: 111.5 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.004211, allocations: 119.6 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.004364, allocations: 83.77 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004464, allocations: 15.97 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.004523, allocations: 43.89 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.004602, allocations: 51.88 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.004616, allocations: 4 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.004695, allocations: 51.86 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.004737, allocations: 23.91 kB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.004759, allocations: 11.94 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.004899, allocations: 99.59 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.004903, allocations: 4 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004905, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.004909, allocations: 4 kB / 382.9 MB, free: 19.82 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.0003481/0.005257, allocations: 447.8 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.005293, allocations: 8.031 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.005328, allocations: 12.89 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.005438, allocations: 156.3 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005447, allocations: 4.312 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.005464, allocations: 8.359 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.005553, allocations: 58.94 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.005563, allocations: 8.172 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.00557, allocations: 384 / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005575, allocations: 384 / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.005599, allocations: 15.92 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.005819, allocations: 272.3 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.005871, allocations: 39.05 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.005886, allocations: 11.69 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.005903, allocations: 4 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.964e-05/0.005972, allocations: 33.39 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.005974, allocations: 0 / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004543/0.006428, allocations: 165.4 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.006453, allocations: 51.41 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.006553, allocations: 249.7 kB / 384.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.006559, allocations: 29.7 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.006601, allocations: 158.8 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.006623, allocations: 27.73 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.006651, allocations: 27.38 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.006705, allocations: 0.5001 MB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.00672, allocations: 12 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.006734, allocations: 4 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.662e-05/0.006771, allocations: 35.67 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006772, allocations: 0 / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.605e-05/0.006848, allocations: 77.5 kB / 385.3 MB, free: 17.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.006861, allocations: 8 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.006869, allocations: 0 / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.006882, allocations: 0 / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.006948, allocations: 19.98 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.006952, allocations: 0 / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.006971, allocations: 4 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.006977, allocations: 7.938 kB / 385.3 MB, free: 17.2 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.62e-05/0.007023, allocations: 160.6 kB / 385.5 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.007046, allocations: 19.78 kB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.007158, allocations: 87.42 kB / 385.6 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.007161, allocations: 4 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007163, allocations: 0 / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007167, allocations: 0 / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.0074, allocations: 353.5 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007401, allocations: 0 / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.007436, allocations: 16.03 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.00744, allocations: 3.984 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.007447, allocations: 8 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007448, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007449, allocations: 3.938 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.433e-05/0.007534, allocations: 231.9 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.007543, allocations: 11.95 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.007555, allocations: 0 / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-05/0.00759, allocations: 11.98 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.007614, allocations: 7.984 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.00762, allocations: 7.984 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.007679, allocations: 167.1 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007679, allocations: 0 / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.007856, allocations: 23.94 kB / 386.4 MB, free: 16.02 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.0009489/0.008805, allocations: 431 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.556e-05/0.0089, allocations: 43.64 kB / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.008902, allocations: 0 / 386.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-05/0.008927, allocations: 27.62 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.009146, allocations: 32.28 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.009437, allocations: 243.7 kB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.878e-05/0.009465, allocations: 71.19 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.009499, allocations: 8.734 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.009546, allocations: 86.19 kB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.009547, allocations: 0 / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.003224/0.01277, allocations: 1.569 MB / 388.9 MB, free: 13.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.6166658769361675]