Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.00181/0.00181, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002486/0.002486, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2477/0.2477, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 75.88 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3637, allocations: 66.1 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003775/0.3675, allocations: 1.663 MB / 0.5629 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3694, allocations: 0.9462 MB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3695, allocations: 3.938 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.37, allocations: 55.81 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.3704, allocations: 99.53 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3707, allocations: 67.73 kB / 0.564 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.3709, allocations: 103.6 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.404e-05/0.371, allocations: 12.22 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.3711, allocations: 39.8 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.3712, allocations: 31.84 kB / 0.5642 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3712, allocations: 8 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3713, allocations: 31.98 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.3714, allocations: 31.8 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.3714, allocations: 31.73 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3717, allocations: 121.8 kB / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3717, allocations: 0 / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3717, allocations: 3.938 kB / 0.5644 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3717, allocations: 0 / 0.5644 GB, free: 0.6953 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006427/0.3723, allocations: 369.4 kB / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3724, allocations: 8.031 kB / 0.5648 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.3724, allocations: 16.89 kB / 0.5648 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.3727, allocations: 171.1 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3728, allocations: 384 / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3728, allocations: 4.375 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3729, allocations: 53.98 kB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3729, allocations: 3.984 kB / 0.565 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.373, allocations: 0 / 0.565 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.373, allocations: 4 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.373, allocations: 15.98 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.3733, allocations: 133.3 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3735, allocations: 58.55 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.3735, allocations: 20.84 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3736, allocations: 0 / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.3737, allocations: 71.39 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3737, allocations: 0 / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003088/0.374, allocations: 105.5 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3741, allocations: 59.39 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3744, allocations: 274.8 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3744, allocations: 29.7 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.3745, allocations: 120.1 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3745, allocations: 11.91 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3745, allocations: 21.7 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3747, allocations: 326.8 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.3748, allocations: 15.98 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.3748, allocations: 25.72 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.3749, allocations: 49.64 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3749, allocations: 0 / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001685/0.3751, allocations: 93.58 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3751, allocations: 11.94 kB / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3751, allocations: 0 / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3751, allocations: 0 / 0.5664 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.3752, allocations: 11.94 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3752, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.3753, allocations: 15.88 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.3753, allocations: 4 kB / 0.5664 GB, free: 14.44 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 (7): * Single equations (assignments): 7 * 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.0001484/0.3754, allocations: 129.8 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.3755, allocations: 19.84 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.3757, allocations: 106.8 kB / 0.5667 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3757, allocations: 3.938 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3757, allocations: 384 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3757, allocations: 0 / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3758, allocations: 141.3 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3759, allocations: 7.938 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.3759, allocations: 4 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3759, allocations: 0 / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3759, allocations: 3.938 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3759, allocations: 4.156 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3759, allocations: 4 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.3761, allocations: 121 kB / 0.5669 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.3761, allocations: 11.91 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.3761, allocations: 7.922 kB / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.3762, allocations: 0 / 0.567 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3762, allocations: 4 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3762, allocations: 4 kB / 0.567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3764, allocations: 208.6 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3764, allocations: 3.938 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.3767, allocations: 16 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001589/0.3783, allocations: 446.7 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.3784, allocations: 43.97 kB / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3784, allocations: 0 / 0.5677 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.3785, allocations: 23.92 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3788, allocations: 23.61 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.3793, allocations: 278.4 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.3794, allocations: 109.8 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.881e-05/0.3795, allocations: 12.48 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.3795, allocations: 11.44 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3795, allocations: 0 / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of Templates: time 0.005246/0.3848, allocations: 1.729 MB / 0.5698 GB, free: 11.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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: 5.314176172018051]