Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001731/0.001731, 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.003055/0.003055, allocations: 210.8 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.686/1.686, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.2415/0.2415, allocations: 46.96 MB / 361.6 MB, free: 3.887 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003806/0.003806, allocations: 84.14 kB / 0.4975 GB, free: 6.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3508, allocations: 66.09 MB / 0.562 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003693/0.3545, allocations: 1.864 MB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3566, allocations: 1.076 MB / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.3567, allocations: 0 / 0.5649 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.3572, allocations: 167.5 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005247/0.3577, allocations: 187.3 kB / 0.5652 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.358, allocations: 119.6 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.3584, allocations: 247.3 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3585, allocations: 17.97 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.3587, allocations: 107.6 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3589, allocations: 147.4 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3589, allocations: 8 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.3591, allocations: 63.97 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-05/0.3592, allocations: 59.77 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.3593, allocations: 63.47 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.3596, allocations: 221.4 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3596, allocations: 4 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3596, allocations: 8 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.3596, allocations: 0 / 0.5662 GB, free: 15.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008346/0.3605, allocations: 484.4 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3605, allocations: 12.03 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.3606, allocations: 28.75 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.361, allocations: 210.6 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.361, allocations: 8.359 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.361, allocations: 8.375 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3613, allocations: 119.6 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3613, allocations: 4 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3613, allocations: 0 / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3614, allocations: 4 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.3615, allocations: 47.95 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.3621, allocations: 408.4 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.3625, allocations: 129.2 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3626, allocations: 37.83 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3627, allocations: 8 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.3629, allocations: 121 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.3629, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0014/0.3643, allocations: 0.5048 MB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.3644, allocations: 88.98 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.3648, allocations: 384.5 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.3649, allocations: 33.7 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.365, allocations: 148.5 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.3651, allocations: 75.38 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.21e-05/0.3651, allocations: 45.7 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3653, allocations: 342.8 kB / 0.5693 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3655, allocations: 59.97 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3656, allocations: 91.34 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3659, allocations: 167.4 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.366, allocations: 4 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000446/0.3664, allocations: 241.3 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3664, allocations: 4 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3664, allocations: 4 kB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3664, allocations: 0 / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.3666, allocations: 47.86 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.3666, allocations: 0 / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.709e-05/0.3667, allocations: 11.98 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3667, allocations: 8 kB / 0.5699 GB, free: 11.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001754/0.3669, allocations: 161.8 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.3669, allocations: 31.81 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.3675, allocations: 272.3 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3675, allocations: 11.88 kB / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3675, allocations: 0 / 0.5704 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3675, allocations: 3.984 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009858/0.3685, allocations: 0.6684 MB / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3685, allocations: 4 kB / 0.5711 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3686, allocations: 31.92 kB / 0.5711 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3686, allocations: 4 kB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.3686, allocations: 11.98 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3686, allocations: 192 / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3686, allocations: 7.938 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.3692, allocations: 449.6 kB / 0.5715 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.3693, allocations: 23.86 kB / 0.5716 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.3693, allocations: 12.05 kB / 0.5716 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3694, allocations: 8 kB / 0.5716 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.3695, allocations: 23.91 kB / 0.5716 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3695, allocations: 8 kB / 0.5716 GB, free: 9.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.3698, allocations: 291 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3698, allocations: 0 / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.3702, allocations: 55.88 kB / 0.5719 GB, free: 9.371 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002195/0.3724, allocations: 0.5311 MB / 0.5725 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3728, allocations: 164 kB / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3728, allocations: 0 / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.373, allocations: 87.77 kB / 0.5727 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.3736, allocations: 59.94 kB / 0.5728 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3746, allocations: 0.541 MB / 0.5733 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3748, allocations: 165.8 kB / 0.5734 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3748, allocations: 27.44 kB / 0.5735 GB, free: 7.934 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3748, allocations: 0 / 0.5735 GB, free: 7.934 MB / 414.1 MB Notification: Performance of Templates: time 0.006357/0.3812, allocations: 3.701 MB / 0.5771 GB, free: 4.246 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.407607702538371]