Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001052/0.001052, allocations: 88.25 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.001198/0.001198, allocations: 165.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.068/1.068, allocations: 177 MB / 205.9 MB, free: 4.457 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.2121/0.2121, allocations: 34.88 MB / 297.4 MB, free: 13.35 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.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.639e-05, allocations: 3.297 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002669/0.002695, allocations: 1.755 MB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003975, allocations: 0.9891 MB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.004062, allocations: 4 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.007394, allocations: 39.75 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.007751, allocations: 103.4 kB / 383 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.008004, allocations: 75.69 kB / 383.1 MB, free: 19.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.008182, allocations: 111.6 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.269e-05/0.008275, allocations: 4 kB / 383.2 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.008365, allocations: 59.81 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/0.008438, allocations: 23.92 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.008453, allocations: 4 kB / 383.3 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.194e-05/0.008545, allocations: 47.86 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.008592, allocations: 31.84 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.008625, allocations: 19.92 kB / 383.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.008794, allocations: 91.66 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.008799, allocations: 4 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.008801, allocations: 8 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.008805, allocations: 0 / 383.5 MB, free: 19.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004094/0.009215, allocations: 443.8 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.009251, allocations: 8.031 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.009294, allocations: 16.84 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.009447, allocations: 158.5 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.009465, allocations: 384 / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.009488, allocations: 4.375 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.0096, allocations: 58.94 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.009612, allocations: 4.188 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.00962, allocations: 4.375 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.009626, allocations: 3.938 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.84e-05/0.009654, allocations: 7.984 kB / 384.1 MB, free: 18.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.009884, allocations: 268.3 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.629e-05/0.00997, allocations: 47.16 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.009993, allocations: 15.67 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.01, allocations: 4 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.01012, allocations: 65.05 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.01012, allocations: 7.938 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003188/0.01044, allocations: 137.5 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.01046, allocations: 55.34 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.01054, allocations: 226.8 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.01055, allocations: 33.7 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.01059, allocations: 150.8 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.01061, allocations: 23.78 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.01064, allocations: 31.36 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.01069, allocations: 0.5001 MB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.01071, allocations: 8 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.01073, allocations: 31.36 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/0.01077, allocations: 55.34 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01077, allocations: 0 / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.919e-05/0.01086, allocations: 85.91 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01087, allocations: 4 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01088, allocations: 4 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.01088, allocations: 0 / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/0.01095, allocations: 23.92 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.01095, allocations: 3.938 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.01099, allocations: 8.031 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.011, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.638e-05/0.01106, allocations: 168.5 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.01109, allocations: 19.84 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.01123, allocations: 103.1 kB / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01124, allocations: 0 / 386.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.01124, allocations: 4 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.01124, allocations: 0 / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.01148, allocations: 357.6 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.01149, allocations: 4.031 kB / 386.5 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.01152, allocations: 12 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01152, allocations: 0 / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.01153, allocations: 0 / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01153, allocations: 3.984 kB / 386.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01154, allocations: 7.938 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.01164, allocations: 255.7 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.01165, allocations: 7.953 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.01167, allocations: 11.94 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.295e-05/0.01171, allocations: 0 / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.01174, allocations: 7.984 kB / 386.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01175, allocations: 8 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.0118, allocations: 163.1 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01199, allocations: 31.92 kB / 387 MB, free: 15.4 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008598/0.01285, allocations: 429.5 kB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.01295, allocations: 51.58 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01295, allocations: 0 / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.01298, allocations: 31.73 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01322, allocations: 39.86 kB / 387.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.01354, allocations: 215.9 kB / 387.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.01357, allocations: 75.19 kB / 387.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.01362, allocations: 13.28 kB / 387.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.01369, allocations: 90.19 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01369, allocations: 0 / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of Templates: time 0.003536/0.01723, allocations: 2.074 MB / 390 MB, free: 12.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.382883314974606]