Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001825/0.001825, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.002353/0.002353, allocations: 213.9 kB / 24.5 MB, free: 4.145 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.571/1.571, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 44.92 MB / 359.6 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 67.89 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4171, allocations: 65.47 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00384/0.421, allocations: 1.834 MB / 0.5601 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.4233, allocations: 1.12 MB / 0.5612 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.4234, allocations: 3.938 kB / 0.5612 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.4239, allocations: 299.3 kB / 0.5615 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.4245, allocations: 263.2 kB / 0.5617 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.4248, allocations: 99.7 kB / 0.5618 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.4252, allocations: 271.2 kB / 0.5621 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.4253, allocations: 9.797 kB / 0.5621 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.4255, allocations: 135.5 kB / 0.5622 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.4258, allocations: 211.9 kB / 0.5624 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.4258, allocations: 11.94 kB / 0.5624 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.426, allocations: 47.98 kB / 0.5625 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.4261, allocations: 132.5 kB / 0.5626 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.4263, allocations: 154.7 kB / 0.5628 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.4268, allocations: 368.6 kB / 0.5631 GB, free: 2.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.4268, allocations: 7.984 kB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4268, allocations: 0 / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4268, allocations: 0 / 0.5631 GB, free: 2.75 MB / 398.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.001114/0.4279, allocations: 0.6708 MB / 0.5638 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4279, allocations: 8.031 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.428, allocations: 52.59 kB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.4287, allocations: 394.5 kB / 0.5642 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4288, allocations: 8.375 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.4288, allocations: 8.125 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.429, allocations: 91.36 kB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.429, allocations: 0 / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.429, allocations: 4 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.429, allocations: 0 / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.4291, allocations: 31.91 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.4296, allocations: 349.5 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.4299, allocations: 101.2 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/0.43, allocations: 37.64 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.43, allocations: 7.984 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.4302, allocations: 109.1 kB / 0.5649 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.4302, allocations: 3.938 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005088/0.4307, allocations: 197.3 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.4308, allocations: 85.05 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.4321, allocations: 1.022 MB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.4321, allocations: 33.7 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.4323, allocations: 232.1 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.4324, allocations: 23.8 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.4324, allocations: 29.7 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.4326, allocations: 366.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.4327, allocations: 31.92 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4329, allocations: 67.41 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.433, allocations: 83.36 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.433, allocations: 3.938 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003757/0.4334, allocations: 185.8 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4334, allocations: 6.656 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4335, allocations: 4 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4335, allocations: 0 / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4336, allocations: 23.92 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4336, allocations: 4 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4337, allocations: 15.89 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4337, allocations: 4 kB / 0.5673 GB, free: 14.26 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.0002606/0.434, allocations: 229.8 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.4341, allocations: 51.67 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.4345, allocations: 193.8 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4345, allocations: 0 / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4345, allocations: 4 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4345, allocations: 0 / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.4349, allocations: 316.5 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4349, allocations: 0 / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.4349, allocations: 19.94 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4349, allocations: 4 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.435, allocations: 3.984 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.435, allocations: 4 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.435, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.4353, allocations: 217.4 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.4355, allocations: 67.59 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.4355, allocations: 0 / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.4356, allocations: 15.98 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.4356, allocations: 12.05 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.4357, allocations: 8 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008984/0.4366, allocations: 0.7682 MB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4366, allocations: 0 / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.4368, allocations: 40 kB / 0.5691 GB, free: 12.25 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.001651/0.4385, allocations: 398.7 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.4388, allocations: 91.83 kB / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4388, allocations: 0 / 0.5696 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.4389, allocations: 39.92 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.4394, allocations: 80.31 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.4408, allocations: 0.9146 MB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.4414, allocations: 0.8465 MB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.4415, allocations: 27.44 kB / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4415, allocations: 0 / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of Templates: time 0.00958/0.4511, allocations: 5.134 MB / 0.5765 GB, free: 4.832 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.255510676186532]