Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.001415/0.001415, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001533/0.001533, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.504/1.504, 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.2334/0.2334, allocations: 46.95 MB / 361.6 MB, free: 4.047 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 79.88 kB / 0.4974 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3862, allocations: 66.09 MB / 0.562 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004143/0.3903, allocations: 2.232 MB / 0.5642 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.3929, allocations: 1.344 MB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.393, allocations: 7.938 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.3937, allocations: 291 kB / 0.5658 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007424/0.3944, allocations: 346.8 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.3949, allocations: 215.5 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.3955, allocations: 0.5646 MB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.3957, allocations: 40.92 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.396, allocations: 235.1 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.3964, allocations: 290.8 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.3964, allocations: 24 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.3966, allocations: 59.98 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.3967, allocations: 123.5 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3969, allocations: 138.9 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.3974, allocations: 432.6 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3974, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3974, allocations: 0 / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3975, allocations: 0 / 0.5681 GB, free: 13.68 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001287/0.3987, allocations: 0.7417 MB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3988, allocations: 8.031 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3989, allocations: 56.56 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.3995, allocations: 353.1 kB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.3996, allocations: 12.38 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.3996, allocations: 16.31 kB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.4, allocations: 222.1 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.4, allocations: 4 kB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.4001, allocations: 8 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4001, allocations: 4 kB / 0.5695 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.4003, allocations: 111.8 kB / 0.5696 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.4014, allocations: 0.7899 MB / 0.5704 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.402, allocations: 285.2 kB / 0.5707 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.4022, allocations: 100.2 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4022, allocations: 4 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004444/0.4027, allocations: 235.5 kB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.4027, allocations: 0 / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002174/0.4049, allocations: 1.077 MB / 0.572 GB, free: 9.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.405, allocations: 170.2 kB / 0.5722 GB, free: 9.254 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008098/0.4058, allocations: 0.6709 MB / 0.5728 GB, free: 8.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.4058, allocations: 37.69 kB / 0.5729 GB, free: 8.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.406, allocations: 241 kB / 0.5731 GB, free: 8.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.4062, allocations: 130.9 kB / 0.5732 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4063, allocations: 70.14 kB / 0.5733 GB, free: 8.086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4065, allocations: 374.8 kB / 0.5737 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.4067, allocations: 108.8 kB / 0.5738 GB, free: 7.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.407, allocations: 184.9 kB / 0.5739 GB, free: 7.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.4076, allocations: 308.6 kB / 0.5742 GB, free: 7.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4076, allocations: 0 / 0.5742 GB, free: 7.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007748/0.4083, allocations: 428.8 kB / 0.5746 GB, free: 6.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4084, allocations: 8 kB / 0.5747 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4084, allocations: 3.938 kB / 0.5747 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4084, allocations: 8 kB / 0.5747 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.4087, allocations: 83.89 kB / 0.5747 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4087, allocations: 7.938 kB / 0.5748 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.4089, allocations: 24.14 kB / 0.5748 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.4089, allocations: 12 kB / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002321/0.4092, allocations: 208.3 kB / 0.575 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.4093, allocations: 67.77 kB / 0.5751 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009844/0.4103, allocations: 0.4939 MB / 0.5755 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4103, allocations: 4 kB / 0.5755 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4103, allocations: 4 kB / 0.5755 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4103, allocations: 8 kB / 0.5755 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4121, allocations: 1.229 MB / 0.5768 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4121, allocations: 4 kB / 0.5768 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.4122, allocations: 55.86 kB / 0.5768 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4122, allocations: 4 kB / 0.5768 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.4123, allocations: 15.98 kB / 0.5768 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.4123, allocations: 8.156 kB / 0.5768 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4123, allocations: 0 / 0.5768 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.4133, allocations: 0.8673 MB / 0.5777 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-05/0.4134, allocations: 51.62 kB / 0.5777 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.4135, allocations: 19.98 kB / 0.5777 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.4138, allocations: 15.98 kB / 0.5778 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.4139, allocations: 43.81 kB / 0.5778 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.4139, allocations: 20 kB / 0.5778 GB, free: 3.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005947/0.4145, allocations: 0.4988 MB / 0.5783 GB, free: 2.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4145, allocations: 0 / 0.5783 GB, free: 2.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005821/0.4151, allocations: 92.39 kB / 0.5784 GB, free: 2.688 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001942/0.417, allocations: 0.4967 MB / 0.5789 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007681/0.4178, allocations: 296.6 kB / 0.5792 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4178, allocations: 0 / 0.5792 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.4182, allocations: 165.2 kB / 0.5793 GB, free: 1.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4193, allocations: 152.1 kB / 0.5795 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.4209, allocations: 0.9751 MB / 0.5804 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4212, allocations: 263.9 kB / 0.5807 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.4214, allocations: 59.41 kB / 0.5807 GB, free: 396 kB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4214, allocations: 0 / 0.5807 GB, free: 396 kB / 414.1 MB Notification: Performance of Templates: time 0.01131/0.4327, allocations: 6.79 MB / 0.5874 GB, free: 9.613 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.854945475701243]