Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.001756/0.001756, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001931/0.001931, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.634/1.634, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2311/0.2311, allocations: 46.95 MB / 361.5 MB, free: 3.941 MB / 286.1 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 79.81 kB / 0.4974 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3431, allocations: 66.08 MB / 0.562 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003278/0.3464, allocations: 1.709 MB / 0.5636 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.349, allocations: 1.66 MB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.3491, allocations: 4 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3494, allocations: 39.77 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.3498, allocations: 99.53 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.35, allocations: 83.66 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3503, allocations: 107.7 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3504, allocations: 11.98 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.3505, allocations: 39.8 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3506, allocations: 47.77 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3506, allocations: 4 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.3508, allocations: 111.9 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.3509, allocations: 16.02 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.351, allocations: 23.86 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.3513, allocations: 173.6 kB / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3513, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3513, allocations: 0 / 0.566 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3513, allocations: 8 kB / 0.566 GB, free: 15.8 MB / 414.1 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.0006203/0.3519, allocations: 349.5 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.352, allocations: 8.031 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.352, allocations: 16.78 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3523, allocations: 154.9 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3523, allocations: 384 / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.3524, allocations: 12.12 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3526, allocations: 97.03 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3526, allocations: 3.984 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3526, allocations: 0 / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3526, allocations: 4 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.746e-05/0.3527, allocations: 23.97 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3531, allocations: 232.5 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3533, allocations: 58.62 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.3533, allocations: 20.84 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3533, allocations: 4 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3535, allocations: 63.39 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3535, allocations: 7.938 kB / 0.567 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005986/0.3541, allocations: 185.3 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.3542, allocations: 85.09 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3544, allocations: 166.5 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3544, allocations: 25.7 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.3544, allocations: 92.14 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.3545, allocations: 31.73 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.3545, allocations: 25.72 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3547, allocations: 326.8 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.3548, allocations: 23.92 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.683e-05/0.3548, allocations: 72.27 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.355, allocations: 61.7 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.355, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001981/0.3552, allocations: 101.6 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3552, allocations: 4 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3552, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3552, allocations: 4 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.3553, allocations: 15.98 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3553, allocations: 0 / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/0.3554, allocations: 12.06 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3554, allocations: 4 kB / 0.5682 GB, free: 13.34 MB / 414.1 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 0.000118/0.3555, allocations: 121.7 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3555, allocations: 12.14 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.3558, allocations: 130.4 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3558, allocations: 0 / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3558, allocations: 0 / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3558, allocations: 0 / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.3563, allocations: 354.9 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3563, allocations: 4.031 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.3563, allocations: 8 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3563, allocations: 4 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3563, allocations: 384 / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3563, allocations: 0 / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3563, allocations: 7.938 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3566, allocations: 216.3 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.3566, allocations: 15.91 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.3567, allocations: 7.938 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.3567, allocations: 3.984 kB / 0.569 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3568, allocations: 15.94 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.3568, allocations: 7.984 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.3569, allocations: 131.9 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3569, allocations: 0 / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.3572, allocations: 43.86 kB / 0.5692 GB, free: 12.2 MB / 414.1 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.002154/0.3594, allocations: 0.5857 MB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3596, allocations: 55.92 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3596, allocations: 0 / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.3597, allocations: 27.98 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.36, allocations: 27.97 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.3605, allocations: 236.4 kB / 0.5701 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.069e-05/0.3606, allocations: 89.44 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.3607, allocations: 19.44 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3607, allocations: 0 / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.004726/0.3654, allocations: 2.441 MB / 0.5726 GB, free: 8.875 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.21916661830619]