Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001379/0.001379, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001709/0.001709, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.65/1.65, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2554/0.2554, allocations: 46.94 MB / 360.9 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+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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 59.91 kB / 0.4967 GB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4801, allocations: 66.04 MB / 0.5612 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.007009/0.4871, allocations: 1.943 MB / 0.5631 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.4911, allocations: 1.151 MB / 0.5642 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.4913, allocations: 7.938 kB / 0.5642 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.4921, allocations: 223.4 kB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.4932, allocations: 219.2 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.4938, allocations: 119.6 kB / 0.5648 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.4945, allocations: 259.3 kB / 0.565 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.4947, allocations: 21.97 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.4951, allocations: 127.5 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/0.4955, allocations: 171.4 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.4956, allocations: 8 kB / 0.5653 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.4958, allocations: 63.98 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.496, allocations: 67.69 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.4961, allocations: 87.3 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.4968, allocations: 249.2 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4968, allocations: 0 / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4968, allocations: 0 / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.4968, allocations: 8 kB / 0.5658 GB, free: 15.64 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.00132/0.4981, allocations: 0.4963 MB / 0.5663 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4982, allocations: 8.031 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.4983, allocations: 32.75 kB / 0.5663 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.499, allocations: 230.5 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.499, allocations: 8.312 kB / 0.5665 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.4991, allocations: 12.12 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.4995, allocations: 114 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.4995, allocations: 0 / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.4996, allocations: 4 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4996, allocations: 0 / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.4998, allocations: 47.95 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.5009, allocations: 455.8 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.5016, allocations: 117.2 kB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.5018, allocations: 37.83 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.5018, allocations: 4 kB / 0.5673 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.5022, allocations: 121 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.735e-06/0.5022, allocations: 0 / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.002397/0.5046, allocations: 0.5006 MB / 0.5679 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.5047, allocations: 89.11 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.5056, allocations: 444.5 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.5056, allocations: 37.69 kB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5058, allocations: 164.5 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.506, allocations: 63.44 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5061, allocations: 45.7 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.5063, allocations: 346.8 kB / 0.569 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.5066, allocations: 59.91 kB / 0.5691 GB, free: 12.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.5069, allocations: 99.28 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/0.5075, allocations: 159.5 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.5075, allocations: 4 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007837/0.5083, allocations: 233.3 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.5083, allocations: 10.75 kB / 0.5696 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5083, allocations: 4 kB / 0.5696 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.5083, allocations: 0 / 0.5696 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.5087, allocations: 47.91 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5087, allocations: 1.172 kB / 0.5696 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5088, allocations: 11.95 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.5089, allocations: 12 kB / 0.5696 GB, free: 11.44 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.0002916/0.5092, allocations: 178.3 kB / 0.5698 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.5093, allocations: 35.75 kB / 0.5699 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009046/0.5102, allocations: 260.3 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.5102, allocations: 4 kB / 0.5701 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.5102, allocations: 3.984 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5102, allocations: 0 / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.5119, allocations: 0.7029 MB / 0.5708 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.5119, allocations: 4 kB / 0.5708 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.5121, allocations: 31.92 kB / 0.5708 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.5121, allocations: 0 / 0.5708 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.5121, allocations: 7.984 kB / 0.5708 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.5121, allocations: 4 kB / 0.5708 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5121, allocations: 0 / 0.5708 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.513, allocations: 431.7 kB / 0.5712 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.5131, allocations: 31.94 kB / 0.5713 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.5132, allocations: 12 kB / 0.5713 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5134, allocations: 7.938 kB / 0.5713 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.5135, allocations: 27.91 kB / 0.5713 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.5135, allocations: 23.86 kB / 0.5713 GB, free: 9.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005347/0.514, allocations: 331 kB / 0.5717 GB, free: 9.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.514, allocations: 0 / 0.5717 GB, free: 9.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006563/0.5147, allocations: 51.94 kB / 0.5717 GB, free: 9.215 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 (22): * Single equations (assignments): 18 * 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.002967/0.5177, allocations: 0.5123 MB / 0.5722 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.5183, allocations: 147.8 kB / 0.5724 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5183, allocations: 3.938 kB / 0.5724 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.5186, allocations: 71.84 kB / 0.5724 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009834/0.5196, allocations: 64.2 kB / 0.5725 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.5212, allocations: 0.5588 MB / 0.573 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.5219, allocations: 0.7753 MB / 0.5738 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.5221, allocations: 37.92 kB / 0.5738 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.5222, allocations: 35.42 kB / 0.5739 GB, free: 7.156 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5222, allocations: 0 / 0.5739 GB, free: 7.156 MB / 414.1 MB Notification: Performance of Templates: time 0.01331/0.5355, allocations: 3.266 MB / 0.5771 GB, free: 3.918 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.773690754082054]