Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.001858/0.001858, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.002201/0.002201, allocations: 208.3 kB / 25.13 MB, free: 3.586 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.526/1.526, allocations: 230.4 MB / 258.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2433/0.2433, allocations: 46.93 MB / 362 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 79.86 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3958, allocations: 66.08 MB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004255/0.4001, allocations: 2.298 MB / 0.5646 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.4027, allocations: 1.334 MB / 0.566 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.4029, allocations: 15.88 kB / 0.566 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.4034, allocations: 123.3 kB / 0.5661 GB, free: 476 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006147/0.404, allocations: 246.9 kB / 0.5663 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.4045, allocations: 203.5 kB / 0.5665 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005647/0.405, allocations: 458.6 kB / 0.567 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.4052, allocations: 52.05 kB / 0.567 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.4056, allocations: 315 kB / 0.5673 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.4058, allocations: 167.1 kB / 0.5675 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.4058, allocations: 20 kB / 0.5675 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.406, allocations: 75.89 kB / 0.5676 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.4062, allocations: 135.5 kB / 0.5677 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.4063, allocations: 182.5 kB / 0.5679 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005609/0.4069, allocations: 449.4 kB / 0.5683 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4069, allocations: 0 / 0.5683 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4069, allocations: 0 / 0.5683 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.4069, allocations: 0 / 0.5683 GB, free: 14.2 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001147/0.4081, allocations: 0.7682 MB / 0.569 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4081, allocations: 12.03 kB / 0.569 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.4082, allocations: 68.52 kB / 0.5691 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.4089, allocations: 353.8 kB / 0.5694 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.4089, allocations: 16.36 kB / 0.5695 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.462e-05/0.409, allocations: 16.33 kB / 0.5695 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.4094, allocations: 201.2 kB / 0.5697 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4094, allocations: 3.984 kB / 0.5697 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.4094, allocations: 8 kB / 0.5697 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.4094, allocations: 4 kB / 0.5697 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.4097, allocations: 91.88 kB / 0.5698 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.4107, allocations: 0.7695 MB / 0.5705 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.4114, allocations: 230.5 kB / 0.5707 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.4115, allocations: 87.45 kB / 0.5708 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.4116, allocations: 8 kB / 0.5708 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003807/0.412, allocations: 196.2 kB / 0.571 GB, free: 11.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.412, allocations: 4 kB / 0.571 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002532/0.4145, allocations: 1.148 MB / 0.5721 GB, free: 10.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.4146, allocations: 132.5 kB / 0.5723 GB, free: 9.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.4155, allocations: 0.8047 MB / 0.5731 GB, free: 9.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.4156, allocations: 41.69 kB / 0.5731 GB, free: 9.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.4158, allocations: 241 kB / 0.5733 GB, free: 8.773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4159, allocations: 142.8 kB / 0.5735 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.416, allocations: 78.08 kB / 0.5735 GB, free: 8.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4162, allocations: 382.7 kB / 0.5739 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.4165, allocations: 112.8 kB / 0.574 GB, free: 8.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.4167, allocations: 183.2 kB / 0.5742 GB, free: 7.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.4173, allocations: 319 kB / 0.5745 GB, free: 7.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4173, allocations: 0 / 0.5745 GB, free: 7.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008223/0.4181, allocations: 445.2 kB / 0.5749 GB, free: 7.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4181, allocations: 4 kB / 0.5749 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4181, allocations: 7.984 kB / 0.5749 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4182, allocations: 8.125 kB / 0.5749 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.4184, allocations: 83.91 kB / 0.575 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.4185, allocations: 11.92 kB / 0.575 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4186, allocations: 15.94 kB / 0.575 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.4186, allocations: 16 kB / 0.5751 GB, free: 6.934 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002813/0.4189, allocations: 236.1 kB / 0.5753 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.419, allocations: 75.52 kB / 0.5754 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/0.42, allocations: 0.5024 MB / 0.5758 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.42, allocations: 4 kB / 0.5759 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.42, allocations: 0 / 0.5759 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4201, allocations: 7.984 kB / 0.5759 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.4218, allocations: 1.282 MB / 0.5771 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4218, allocations: 7.938 kB / 0.5771 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.422, allocations: 59.91 kB / 0.5772 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.422, allocations: 4.25 kB / 0.5772 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.422, allocations: 27.92 kB / 0.5772 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.422, allocations: 4 kB / 0.5772 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.422, allocations: 4 kB / 0.5772 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009468/0.423, allocations: 0.8098 MB / 0.578 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.4232, allocations: 91.52 kB / 0.5781 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.4232, allocations: 20 kB / 0.5781 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.4235, allocations: 15.98 kB / 0.5781 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.4236, allocations: 47.81 kB / 0.5782 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.4236, allocations: 23.98 kB / 0.5782 GB, free: 3.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006547/0.4243, allocations: 0.5811 MB / 0.5788 GB, free: 3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4243, allocations: 0 / 0.5788 GB, free: 3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00055/0.4248, allocations: 91.92 kB / 0.5788 GB, free: 2.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001959/0.4268, allocations: 0.5213 MB / 0.5794 GB, free: 2.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.4275, allocations: 284.3 kB / 0.5796 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4275, allocations: 4 kB / 0.5796 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.4278, allocations: 155.9 kB / 0.5798 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/0.4287, allocations: 125.4 kB / 0.5799 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.4303, allocations: 1.07 MB / 0.5809 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.4308, allocations: 0.882 MB / 0.5818 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.431, allocations: 79.3 kB / 0.5819 GB, free: 15.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.4312, allocations: 55.42 kB / 0.5819 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4312, allocations: 0 / 0.5819 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Templates: time 0.01157/0.4427, allocations: 5.664 MB / 0.5875 GB, free: 10.21 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.376202377025038]