Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 107.6 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002217/0.002217, allocations: 210.8 kB / 24.48 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 46.96 MB / 361.6 MB, free: 4.125 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.89 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4036, allocations: 66.03 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003639/0.4072, allocations: 1.874 MB / 0.5637 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.4094, allocations: 1.08 MB / 0.5648 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.4095, allocations: 7.938 kB / 0.5648 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.4099, allocations: 155.5 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.4104, allocations: 191.2 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.4107, allocations: 115.7 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.411, allocations: 255.2 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4111, allocations: 21.61 kB / 0.5655 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.4113, allocations: 111.5 kB / 0.5656 GB, free: 348 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.4115, allocations: 143.5 kB / 0.5657 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.4115, allocations: 11.94 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.4117, allocations: 67.92 kB / 0.5658 GB, free: 124 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.4118, allocations: 63.75 kB / 0.5659 GB, free: 60 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.4118, allocations: 55.55 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.4122, allocations: 233.9 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.4122, allocations: 4 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4122, allocations: 0 / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4122, allocations: 0 / 0.5661 GB, free: 15.77 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.0007748/0.413, allocations: 476.6 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.413, allocations: 8.031 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.4131, allocations: 28.75 kB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.4135, allocations: 218.5 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.4135, allocations: 12.36 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.4136, allocations: 8.125 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.4139, allocations: 111.3 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4139, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4139, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.4139, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.4141, allocations: 47.89 kB / 0.567 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.4148, allocations: 408.5 kB / 0.5674 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.4153, allocations: 129.1 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4154, allocations: 37.83 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4155, allocations: 4 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.4158, allocations: 124.8 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.4158, allocations: 0 / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001668/0.4174, allocations: 0.5051 MB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.4175, allocations: 81.11 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.4181, allocations: 388.4 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.4181, allocations: 37.64 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.4183, allocations: 144.5 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.4184, allocations: 75.39 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4185, allocations: 41.7 kB / 0.5689 GB, free: 12.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004351/0.419, allocations: 342.8 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.4192, allocations: 55.98 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4193, allocations: 95.39 kB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.4197, allocations: 159.3 kB / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4197, allocations: 0 / 0.5695 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005934/0.4203, allocations: 241.6 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4203, allocations: 4 kB / 0.5698 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.4203, allocations: 11.94 kB / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.4204, allocations: 0 / 0.5698 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.4205, allocations: 47.98 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4206, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.4207, allocations: 15.92 kB / 0.5698 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4207, allocations: 8 kB / 0.5699 GB, free: 11.73 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.0002184/0.4209, allocations: 154.3 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.421, allocations: 39.78 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/0.4216, allocations: 279.9 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4216, allocations: 4 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.4216, allocations: 0 / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4216, allocations: 11.92 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.4228, allocations: 0.6644 MB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4229, allocations: 4 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.423, allocations: 27.98 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.423, allocations: 4 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.423, allocations: 11.98 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.423, allocations: 3.938 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.423, allocations: 4.125 kB / 0.571 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.4237, allocations: 447.4 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.4237, allocations: 19.86 kB / 0.5715 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.4238, allocations: 11.94 kB / 0.5715 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4239, allocations: 7.984 kB / 0.5715 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.424, allocations: 23.91 kB / 0.5715 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.424, allocations: 12 kB / 0.5715 GB, free: 9.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.4244, allocations: 287 kB / 0.5718 GB, free: 9.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4244, allocations: 0 / 0.5718 GB, free: 9.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000395/0.4248, allocations: 51.89 kB / 0.5718 GB, free: 9.598 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.002156/0.4269, allocations: 0.5581 MB / 0.5724 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.4273, allocations: 155.8 kB / 0.5725 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4274, allocations: 0 / 0.5725 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.4275, allocations: 83.78 kB / 0.5726 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.4281, allocations: 74.47 kB / 0.5727 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4291, allocations: 0.5448 MB / 0.5732 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.4293, allocations: 157.9 kB / 0.5734 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.4294, allocations: 27.44 kB / 0.5734 GB, free: 8.188 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4294, allocations: 4 kB / 0.5734 GB, free: 8.184 MB / 414.1 MB Notification: Performance of Templates: time 0.007138/0.4365, allocations: 3.705 MB / 0.577 GB, free: 4.484 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.28314686199883]