Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001348/0.001348, allocations: 91.5 kB / 21.19 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.000969/0.000969, allocations: 156.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.9015/0.9015, allocations: 177 MB / 204.8 MB, free: 5.582 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.2861/0.2861, allocations: 34.87 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.994e-05, allocations: 2.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002216/0.002236, allocations: 1.692 MB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.003057, allocations: 0.5719 MB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.00312, allocations: 3.938 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.003599, allocations: 451.1 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.004006, allocations: 299.1 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.00436, allocations: 175.5 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.004574, allocations: 175.6 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.004671, allocations: 19.98 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.004781, allocations: 115.8 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.004976, allocations: 247.5 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.004993, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-05/0.005069, allocations: 35.92 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.005156, allocations: 87.7 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.005198, allocations: 39.73 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.005422, allocations: 199.2 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005424, allocations: 4 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.005425, allocations: 0 / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.00543, allocations: 0 / 382.9 MB, free: 13.96 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.000537/0.005967, allocations: 0.6931 MB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.006001, allocations: 8.031 kB / 383.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.006058, allocations: 48.66 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.006232, allocations: 248.8 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.006243, allocations: 4.375 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.006262, allocations: 4.359 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.006375, allocations: 66.94 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.006385, allocations: 4.188 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.006394, allocations: 384 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.0064, allocations: 384 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.006433, allocations: 19.88 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.006831, allocations: 423.6 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.006991, allocations: 47.05 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.007012, allocations: 7.688 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.007031, allocations: 7.938 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.00705, allocations: 37.33 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.007051, allocations: 0 / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003451/0.007396, allocations: 200.7 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.007424, allocations: 51.41 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.007805, allocations: 0.6316 MB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007815, allocations: 25.7 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.007958, allocations: 282.8 kB / 385.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.007978, allocations: 23.86 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.008006, allocations: 19.38 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.008158, allocations: 0.5587 MB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.008174, allocations: 4 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.008188, allocations: 4 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.008226, allocations: 31.67 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008227, allocations: 0 / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.785e-05/0.008315, allocations: 97.3 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.008327, allocations: 7.984 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.008331, allocations: 0 / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.008343, allocations: 4 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.85e-05/0.008382, allocations: 8 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.008386, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.008409, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.008416, allocations: 7.984 kB / 386.4 MB, free: 10.2 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.804e-05/0.008484, allocations: 160.6 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.008517, allocations: 47.66 kB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.008636, allocations: 97.42 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.008638, allocations: 0 / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008642, allocations: 4.062 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.008644, allocations: 0 / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.008966, allocations: 465.3 kB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.008967, allocations: 4 kB / 387.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.008996, allocations: 15.92 kB / 387.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008998, allocations: 0 / 387.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.009004, allocations: 7.938 kB / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009005, allocations: 0 / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.009006, allocations: 0 / 387.2 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.009121, allocations: 243.6 kB / 387.4 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.009144, allocations: 39.67 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.00916, allocations: 7.984 kB / 387.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-05/0.009196, allocations: 4 kB / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.009222, allocations: 288 / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.009225, allocations: 0 / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002341/0.009459, allocations: 430.8 kB / 387.9 MB, free: 8.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009459, allocations: 4 kB / 387.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000162/0.009621, allocations: 20 kB / 387.9 MB, free: 8.602 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.0007414/0.01036, allocations: 385.9 kB / 388.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01047, allocations: 31.67 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01047, allocations: 4 kB / 388.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.01049, allocations: 23.67 kB / 388.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01071, allocations: 29.89 kB / 388.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.01132, allocations: 0.585 MB / 389 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.61e-05/0.0114, allocations: 119.2 kB / 389.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.01144, allocations: 23.83 kB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.01147, allocations: 24.48 kB / 389.1 MB, free: 7.441 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01147, allocations: 0 / 389.1 MB, free: 7.441 MB / 362.7 MB Notification: Performance of Templates: time 0.003918/0.01539, allocations: 1.457 MB / 390.6 MB, free: 6 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.000151882879436]