Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001623/0.001623, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001929/0.001929, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.456/1.456, allocations: 230.2 MB / 257.9 MB, free: 8.238 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.2274/0.2274, allocations: 46.9 MB / 361.3 MB, free: 4.445 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 75.88 kB / 0.4971 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3809, allocations: 66.02 MB / 0.5616 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003336/0.3843, allocations: 1.756 MB / 0.5633 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.3863, allocations: 1.045 MB / 0.5643 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.3863, allocations: 3.938 kB / 0.5643 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.3867, allocations: 59.69 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.387, allocations: 91.61 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3872, allocations: 79.66 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.3874, allocations: 99.77 kB / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3875, allocations: 15.97 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3876, allocations: 43.73 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3877, allocations: 35.78 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3877, allocations: 8 kB / 0.5647 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3879, allocations: 43.97 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.3879, allocations: 23.92 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.388, allocations: 39.62 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3882, allocations: 137.8 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3882, allocations: 0 / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3882, allocations: 0 / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3882, allocations: 3.938 kB / 0.565 GB, free: 1.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006101/0.3889, allocations: 365.4 kB / 0.5653 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3889, allocations: 12.03 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.3889, allocations: 12.89 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.3892, allocations: 151.2 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3892, allocations: 384 / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.3892, allocations: 4.375 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3894, allocations: 57.98 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3894, allocations: 3.938 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3894, allocations: 0 / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3894, allocations: 7.922 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.421e-05/0.3895, allocations: 20 kB / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.39, allocations: 271.9 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3902, allocations: 50.69 kB / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.3902, allocations: 20.78 kB / 0.5659 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3902, allocations: 4 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.3904, allocations: 67.39 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3904, allocations: 0 / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006885/0.3911, allocations: 189.5 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3912, allocations: 51.41 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.3915, allocations: 239 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3915, allocations: 25.7 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.3916, allocations: 116.1 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.3917, allocations: 23.84 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.3918, allocations: 25.72 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.392, allocations: 326.8 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.392, allocations: 23.98 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.821e-05/0.3921, allocations: 33.7 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3922, allocations: 65.64 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3922, allocations: 0 / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002147/0.3925, allocations: 105.5 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.3925, allocations: 10.19 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3925, allocations: 192 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3925, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3926, allocations: 19.92 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3927, allocations: 4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.3927, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3927, allocations: 12.03 kB / 0.5672 GB, free: 14.65 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.0001746/0.3929, allocations: 129.8 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3929, allocations: 19.89 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.3932, allocations: 119.1 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3932, allocations: 0 / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3932, allocations: 4 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3933, allocations: 0 / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.3939, allocations: 386.3 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3939, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.3939, allocations: 8 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.3939, allocations: 4 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3939, allocations: 0 / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/0.3939, allocations: 7.922 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3939, allocations: 0 / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.3942, allocations: 212.3 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.3942, allocations: 11.91 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.3943, allocations: 0 / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.3943, allocations: 7.938 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.3944, allocations: 7.984 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3944, allocations: 4 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001985/0.3946, allocations: 175.2 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 0 / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3949, allocations: 20 kB / 0.5683 GB, free: 13.46 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 (8): * Single equations (assignments): 6 * 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.001722/0.3966, allocations: 462.1 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3968, allocations: 55.91 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3968, allocations: 4.062 kB / 0.5688 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.3969, allocations: 27.92 kB / 0.5688 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3972, allocations: 37.77 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.3978, allocations: 271.2 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3981, allocations: 0.708 MB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.3982, allocations: 17.27 kB / 0.5698 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.3982, allocations: 23.42 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3982, allocations: 0 / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Templates: time 0.005191/0.4034, allocations: 1.782 MB / 0.5716 GB, free: 10.21 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.152282596565783]