Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001949/0.001949, allocations: 111 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.002523/0.002523, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.486/1.486, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2462/0.2462, allocations: 46.97 MB / 361.6 MB, free: 4.074 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+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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 75.89 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4614, allocations: 66.03 MB / 0.5619 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003668/0.4651, allocations: 1.788 MB / 0.5636 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.4672, allocations: 1.05 MB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4673, allocations: 4 kB / 0.5646 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.468, allocations: 303.2 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006526/0.4687, allocations: 251.2 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.469, allocations: 103.7 kB / 0.5653 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004075/0.4694, allocations: 271.2 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.4695, allocations: 5.812 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.4697, allocations: 139.5 kB / 0.5657 GB, free: 292 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.47, allocations: 212 kB / 0.5659 GB, free: 80 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.47, allocations: 4 kB / 0.5659 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.4702, allocations: 51.97 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.4704, allocations: 140.5 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.4705, allocations: 103.1 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.471, allocations: 380.6 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.471, allocations: 0 / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.539e-06/0.471, allocations: 0 / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.471, allocations: 0 / 0.5665 GB, free: 15.42 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001288/0.4723, allocations: 0.6825 MB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4724, allocations: 8.031 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.4725, allocations: 52.61 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.4732, allocations: 382.5 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.4732, allocations: 8.375 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.4733, allocations: 4.125 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.4735, allocations: 91.3 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4735, allocations: 0 / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4735, allocations: 0 / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4736, allocations: 4 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.4737, allocations: 35.97 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.4741, allocations: 306.1 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.4744, allocations: 109.2 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.4745, allocations: 41.64 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4745, allocations: 0 / 0.5682 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.4748, allocations: 120.9 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.4748, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005448/0.4754, allocations: 209.2 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.4754, allocations: 81.11 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.4768, allocations: 1.03 MB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.4768, allocations: 33.7 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.477, allocations: 232.1 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.4771, allocations: 27.78 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.4772, allocations: 29.7 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.4774, allocations: 366.8 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.4775, allocations: 35.98 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4776, allocations: 63.41 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.4778, allocations: 95.78 kB / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4778, allocations: 0 / 0.5704 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003489/0.4782, allocations: 189.1 kB / 0.5706 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4782, allocations: 8 kB / 0.5706 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4782, allocations: 4.062 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4782, allocations: 0 / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.4783, allocations: 23.98 kB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4783, allocations: 0 / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.4785, allocations: 15.89 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.4785, allocations: 4 kB / 0.5707 GB, free: 10.94 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002498/0.4787, allocations: 225.7 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.4788, allocations: 55.61 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.4792, allocations: 201.8 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4792, allocations: 0 / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4792, allocations: 0 / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4792, allocations: 0 / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.4795, allocations: 269.2 kB / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4795, allocations: 0 / 0.5714 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.4796, allocations: 8 kB / 0.5714 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4796, allocations: 3.938 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.4796, allocations: 7.984 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4796, allocations: 0 / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4796, allocations: 4.188 kB / 0.5714 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.48, allocations: 241.4 kB / 0.5716 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4802, allocations: 63.55 kB / 0.5717 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.4802, allocations: 7.984 kB / 0.5717 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.4803, allocations: 8 kB / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4803, allocations: 7.984 kB / 0.5717 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.4804, allocations: 7.984 kB / 0.5717 GB, free: 9.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008399/0.4812, allocations: 0.7682 MB / 0.5725 GB, free: 9.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4812, allocations: 0 / 0.5725 GB, free: 9.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.4815, allocations: 40 kB / 0.5725 GB, free: 8.977 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001737/0.4832, allocations: 443 kB / 0.5729 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4835, allocations: 91.91 kB / 0.573 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4835, allocations: 3.938 kB / 0.573 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.4837, allocations: 39.97 kB / 0.5731 GB, free: 8.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.4841, allocations: 81.02 kB / 0.5731 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.4855, allocations: 0.8816 MB / 0.574 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4858, allocations: 237.8 kB / 0.5742 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.4859, allocations: 54.94 kB / 0.5743 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.486, allocations: 31.44 kB / 0.5743 GB, free: 7.273 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.486, allocations: 0 / 0.5743 GB, free: 7.273 MB / 414.1 MB Notification: Performance of Templates: time 0.01046/0.4964, allocations: 4.34 MB / 0.5785 GB, free: 2.973 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.469181352993473]