Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.00171/0.00171, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0012/0.0012, allocations: 157 kB / 24.99 MB, free: 8.801 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 0.9394/0.9394, allocations: 177 MB / 205.2 MB, free: 5.613 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.2403/0.2403, allocations: 34.87 MB / 296.6 MB, free: 0.5586 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.625e-05, allocations: 6.25 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003204/0.00323, allocations: 1.67 MB / 380.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.004285, allocations: 0.5602 MB / 381 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.004362, allocations: 0 / 381 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.004689, allocations: 99.61 kB / 381.1 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.004991, allocations: 115.7 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.005223, allocations: 111.7 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.005374, allocations: 103.7 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.005475, allocations: 27.98 kB / 381.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.293e-05/0.005538, allocations: 55.88 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.005622, allocations: 59.86 kB / 381.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.005637, allocations: 4 kB / 381.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.005711, allocations: 47.92 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.005761, allocations: 31.84 kB / 381.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.005793, allocations: 19.92 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.005944, allocations: 111.5 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005946, allocations: 0 / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005947, allocations: 0 / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005951, allocations: 0 / 381.8 MB, free: 15.38 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005073/0.006459, allocations: 471.8 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.006491, allocations: 12.03 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.006536, allocations: 20.83 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.006672, allocations: 156.3 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.006681, allocations: 8.312 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.006701, allocations: 8.359 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.006814, allocations: 70.94 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.006823, allocations: 4.188 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.006833, allocations: 4.375 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.006839, allocations: 384 / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.543e-05/0.006885, allocations: 35.17 kB / 382.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.007199, allocations: 335.6 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.007271, allocations: 55.03 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.007298, allocations: 19.62 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.007318, allocations: 7.984 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.007337, allocations: 37.33 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.007339, allocations: 0 / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005796/0.007918, allocations: 241.3 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.007946, allocations: 55.39 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.008085, allocations: 246.7 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.008097, allocations: 29.7 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.008155, allocations: 162.8 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.008186, allocations: 47.58 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.008219, allocations: 27.38 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.008325, allocations: 0.504 MB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.008358, allocations: 27.92 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.008386, allocations: 20.11 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.008452, allocations: 55.69 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.008453, allocations: 0 / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001098/0.008563, allocations: 104.7 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.008574, allocations: 4 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.008577, allocations: 0 / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.00859, allocations: 7.938 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.008671, allocations: 27.92 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008676, allocations: 0 / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.008696, allocations: 3.984 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.008703, allocations: 4 kB / 384.5 MB, free: 12.4 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 (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.54e-05/0.008769, allocations: 168.5 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.008794, allocations: 19.91 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.008953, allocations: 127.7 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.008956, allocations: 4 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.008961, allocations: 4 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008963, allocations: 0 / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.009298, allocations: 436.9 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009299, allocations: 4 kB / 385.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.009353, allocations: 23.98 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009355, allocations: 4.031 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.009363, allocations: 0 / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.009365, allocations: 7.938 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.009367, allocations: 3.938 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.009517, allocations: 267.4 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.009528, allocations: 11.91 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.009541, allocations: 8 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.009578, allocations: 11.92 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.00961, allocations: 7.984 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.009616, allocations: 4 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.169e-05/0.009698, allocations: 181.1 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009698, allocations: 4 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.00987, allocations: 31.92 kB / 385.8 MB, free: 11.01 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 (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.0008362/0.01071, allocations: 427 kB / 386.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01083, allocations: 67.41 kB / 386.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01083, allocations: 0 / 386.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/0.01087, allocations: 43.61 kB / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.01108, allocations: 15.98 kB / 386.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.01146, allocations: 296.6 kB / 386.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.337e-05/0.0115, allocations: 75.33 kB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.01e-05/0.01155, allocations: 24.47 kB / 386.8 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.01159, allocations: 16.5 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01159, allocations: 4 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003119/0.01471, allocations: 1.616 MB / 388.4 MB, free: 8.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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: 2.9936891770921648]