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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002268/0.002268, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.509/1.509, allocations: 230.5 MB / 257.4 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.2526/0.2526, 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.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.002747/0.002747, allocations: 87.86 kB / 0.4967 GB, free: 6.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3857, allocations: 66.08 MB / 0.5612 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004604/0.3903, allocations: 2.24 MB / 0.5634 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.394, allocations: 1.352 MB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.3944, allocations: 7.938 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008831/0.3953, allocations: 283 kB / 0.565 GB, free: 64 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.3965, allocations: 350.6 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.3972, allocations: 215.5 kB / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009729/0.3981, allocations: 0.5647 MB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.3984, allocations: 40.94 kB / 0.5661 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.399, allocations: 235.1 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.3995, allocations: 302.7 kB / 0.5667 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.3996, allocations: 20 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3998, allocations: 55.98 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.4, allocations: 115.5 kB / 0.5668 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.4002, allocations: 139 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.4009, allocations: 432.6 kB / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4009, allocations: 0 / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4009, allocations: 0 / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.775e-05/0.4009, allocations: 0 / 0.5674 GB, free: 13.62 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.001808/0.4027, allocations: 0.7417 MB / 0.5681 GB, free: 12.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4028, allocations: 12.03 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.403, allocations: 60.55 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.4037, allocations: 349.1 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.4038, allocations: 12.38 kB / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.397e-05/0.4038, allocations: 20.34 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.4043, allocations: 218.1 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4043, allocations: 4 kB / 0.5688 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.4044, allocations: 8 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4044, allocations: 4 kB / 0.5688 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.4047, allocations: 111.8 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.4058, allocations: 0.7899 MB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.4065, allocations: 289.2 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.4067, allocations: 96.19 kB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.4068, allocations: 4 kB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.4072, allocations: 231.5 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.4072, allocations: 0 / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002314/0.4095, allocations: 1.076 MB / 0.5713 GB, free: 9.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.4096, allocations: 170.1 kB / 0.5715 GB, free: 9.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.4105, allocations: 0.6748 MB / 0.5721 GB, free: 8.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.4106, allocations: 33.7 kB / 0.5721 GB, free: 8.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.4108, allocations: 241 kB / 0.5724 GB, free: 8.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.4109, allocations: 134.9 kB / 0.5725 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.411, allocations: 74.12 kB / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.4112, allocations: 374.8 kB / 0.5729 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.4115, allocations: 104.8 kB / 0.573 GB, free: 7.547 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.4118, allocations: 184.9 kB / 0.5732 GB, free: 7.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.4124, allocations: 308.8 kB / 0.5735 GB, free: 7.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4124, allocations: 0 / 0.5735 GB, free: 7.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008565/0.4132, allocations: 428.9 kB / 0.5739 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4133, allocations: 8 kB / 0.5739 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.4133, allocations: 3.938 kB / 0.5739 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.4133, allocations: 4 kB / 0.5739 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.4136, allocations: 87.89 kB / 0.574 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.4136, allocations: 7.938 kB / 0.574 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.4139, allocations: 21.64 kB / 0.574 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.4139, allocations: 16 kB / 0.5741 GB, free: 6.438 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.0002591/0.4142, allocations: 208.3 kB / 0.5742 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4143, allocations: 67.58 kB / 0.5743 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.4153, allocations: 0.4904 MB / 0.5748 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.4153, allocations: 8 kB / 0.5748 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4153, allocations: 0 / 0.5748 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.4154, allocations: 11.98 kB / 0.5748 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.4173, allocations: 1.222 MB / 0.576 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4173, allocations: 4 kB / 0.576 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.4175, allocations: 63.84 kB / 0.5761 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.4175, allocations: 4 kB / 0.5761 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.4175, allocations: 23.92 kB / 0.5761 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.4175, allocations: 8.156 kB / 0.5761 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4175, allocations: 0 / 0.5761 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.4186, allocations: 0.8634 MB / 0.5769 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.4187, allocations: 55.61 kB / 0.577 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.4188, allocations: 12 kB / 0.577 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.4191, allocations: 19.98 kB / 0.577 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.4192, allocations: 43.81 kB / 0.5771 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.4193, allocations: 23.98 kB / 0.5771 GB, free: 3.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006175/0.4199, allocations: 0.4988 MB / 0.5776 GB, free: 2.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4199, allocations: 0 / 0.5776 GB, free: 2.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006033/0.4205, allocations: 87.94 kB / 0.5777 GB, free: 2.625 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.002026/0.4225, allocations: 0.4964 MB / 0.5782 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.4232, allocations: 300.2 kB / 0.5784 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4233, allocations: 0 / 0.5784 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.4236, allocations: 161.3 kB / 0.5786 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4247, allocations: 141.8 kB / 0.5787 GB, free: 1.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.4264, allocations: 0.9422 MB / 0.5796 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.4267, allocations: 263.9 kB / 0.5799 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.4269, allocations: 87.39 kB / 0.58 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4271, allocations: 51.42 kB / 0.58 GB, free: 304 kB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4271, allocations: 0 / 0.58 GB, free: 304 kB / 414.1 MB Notification: Performance of Templates: time 0.0138/0.4409, allocations: 6.672 MB / 0.5865 GB, free: 9.711 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/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: 5.661289801821113]