Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.00102, allocations: 106 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4307/0.4307, allocations: 44.12 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 55.92 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4185, allocations: 60.79 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00305/0.4216, allocations: 1.854 MB / 0.5082 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4232, allocations: 0.9499 MB / 0.5091 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.4233, allocations: 0 / 0.5091 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.4239, allocations: 296.8 kB / 0.5094 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.4242, allocations: 206.8 kB / 0.5096 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.4248, allocations: 148.4 kB / 0.5098 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.4251, allocations: 244.5 kB / 0.51 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.4251, allocations: 9.812 kB / 0.51 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.4253, allocations: 116.6 kB / 0.5101 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.4255, allocations: 197.8 kB / 0.5103 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.4256, allocations: 2.875 kB / 0.5103 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.4257, allocations: 41.62 kB / 0.5103 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.4258, allocations: 134.6 kB / 0.5105 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.4259, allocations: 138.4 kB / 0.5106 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.4262, allocations: 355.6 kB / 0.5109 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4263, allocations: 3.938 kB / 0.5109 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4263, allocations: 7.031 kB / 0.5109 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.4263, allocations: 3.938 kB / 0.511 GB, free: 35.66 MB / 378.7 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.0008835/0.4272, allocations: 0.7272 MB / 0.5117 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4272, allocations: 8 kB / 0.5117 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.68e-05/0.4273, allocations: 45.44 kB / 0.5117 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.4278, allocations: 448.5 kB / 0.5121 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4278, allocations: 384 / 0.5121 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.4278, allocations: 7 kB / 0.5121 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.428, allocations: 90.22 kB / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.428, allocations: 3.938 kB / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4281, allocations: 0 / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4281, allocations: 6.797 kB / 0.5122 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.4282, allocations: 29.48 kB / 0.5123 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.4286, allocations: 376 kB / 0.5126 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.4288, allocations: 111.7 kB / 0.5127 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.4289, allocations: 45.19 kB / 0.5128 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4289, allocations: 2.594 kB / 0.5128 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.4292, allocations: 111.6 kB / 0.5129 GB, free: 34.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.4292, allocations: 0 / 0.5129 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004759/0.4297, allocations: 198.1 kB / 0.5131 GB, free: 34.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.4298, allocations: 80.02 kB / 0.5132 GB, free: 33.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.4309, allocations: 1.037 MB / 0.5142 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.4309, allocations: 28.52 kB / 0.5142 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.431, allocations: 234.6 kB / 0.5144 GB, free: 33.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.4311, allocations: 21.59 kB / 0.5144 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.4312, allocations: 29.64 kB / 0.5145 GB, free: 33.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4313, allocations: 364.4 kB / 0.5148 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.4314, allocations: 28.38 kB / 0.5148 GB, free: 33.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.4314, allocations: 60.41 kB / 0.5149 GB, free: 33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.4316, allocations: 93.08 kB / 0.515 GB, free: 32.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4316, allocations: 0 / 0.515 GB, free: 32.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002639/0.4319, allocations: 172.1 kB / 0.5152 GB, free: 32.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4319, allocations: 9.656 kB / 0.5152 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4319, allocations: 3 kB / 0.5152 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.432, allocations: 0 / 0.5152 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4321, allocations: 24.64 kB / 0.5152 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4321, allocations: 2.75 kB / 0.5152 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-05/0.4322, allocations: 17.98 kB / 0.5152 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4322, allocations: 5.938 kB / 0.5152 GB, free: 32.82 MB / 378.7 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.0001921/0.4324, allocations: 228.5 kB / 0.5154 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.4325, allocations: 44.84 kB / 0.5155 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.4326, allocations: 61.72 kB / 0.5155 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4326, allocations: 1.031 kB / 0.5155 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.4326, allocations: 4.375 kB / 0.5155 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4326, allocations: 1.219 kB / 0.5155 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.4329, allocations: 343.7 kB / 0.5159 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.433, allocations: 1.125 kB / 0.5159 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.433, allocations: 9.281 kB / 0.5159 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.433, allocations: 1.156 kB / 0.5159 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.433, allocations: 2.25 kB / 0.5159 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.433, allocations: 5.156 kB / 0.5159 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.433, allocations: 4 kB / 0.5159 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.4336, allocations: 0.8824 MB / 0.5168 GB, free: 31.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.4338, allocations: 141.8 kB / 0.5169 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.4338, allocations: 0 / 0.5169 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.4339, allocations: 12.97 kB / 0.5169 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.434, allocations: 14.06 kB / 0.5169 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.434, allocations: 5.906 kB / 0.5169 GB, free: 31.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007043/0.4347, allocations: 0.7685 MB / 0.5177 GB, free: 31.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4347, allocations: 0 / 0.5177 GB, free: 31.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.4351, allocations: 41.77 kB / 0.5177 GB, free: 31.19 MB / 378.7 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009545/0.436, allocations: 405.8 kB / 0.5181 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.4363, allocations: 86.92 kB / 0.5182 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4363, allocations: 0 / 0.5182 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.4364, allocations: 42.81 kB / 0.5182 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.4369, allocations: 64.91 kB / 0.5183 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4381, allocations: 1.085 MB / 0.5193 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.4384, allocations: 0.8425 MB / 0.5202 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.4385, allocations: 57.98 kB / 0.5202 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.4386, allocations: 34.81 kB / 0.5203 GB, free: 29.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4386, allocations: 0 / 0.5203 GB, free: 29.6 MB / 378.7 MB Notification: Performance of Templates: time 0.007552/0.4462, allocations: 3.67 MB / 0.5238 GB, free: 29.26 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches