Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, 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.371/1.371, allocations: 222.9 MB / 241.6 MB, free: 11.02 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.001039/0.00104, allocations: 105.8 kB / 291.8 MB, free: 10.99 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.3915/0.3915, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 59.92 kB / 457.8 MB, free: 2.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4222, allocations: 60.8 MB / 0.5064 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003311/0.4256, allocations: 1.851 MB / 0.5082 GB, free: 37.19 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.4271, allocations: 0.9462 MB / 0.5091 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.4272, allocations: 1.562 kB / 0.5091 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.4277, allocations: 300.4 kB / 0.5094 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.4281, allocations: 206 kB / 0.5096 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.4284, allocations: 156.2 kB / 0.5098 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.4287, allocations: 233.9 kB / 0.51 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.364e-05/0.4287, allocations: 11.08 kB / 0.51 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.4289, allocations: 122.1 kB / 0.5101 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.4291, allocations: 192.2 kB / 0.5103 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.4291, allocations: 2.844 kB / 0.5103 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.4292, allocations: 44.62 kB / 0.5103 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.4294, allocations: 135.7 kB / 0.5105 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.4295, allocations: 145.6 kB / 0.5106 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.4298, allocations: 348.8 kB / 0.5109 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4298, allocations: 4 kB / 0.5109 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4298, allocations: 2.938 kB / 0.5109 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4299, allocations: 3.938 kB / 0.511 GB, free: 35.9 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.0008972/0.4308, allocations: 0.7256 MB / 0.5117 GB, free: 35.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4308, allocations: 10.41 kB / 0.5117 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.4309, allocations: 43.19 kB / 0.5117 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.4315, allocations: 445 kB / 0.5121 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.4315, allocations: 7.312 kB / 0.5121 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.4315, allocations: 10.75 kB / 0.5122 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.4317, allocations: 88.27 kB / 0.5122 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4317, allocations: 0 / 0.5122 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.4318, allocations: 0 / 0.5122 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4318, allocations: 2.625 kB / 0.5122 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.4319, allocations: 28.58 kB / 0.5123 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.4323, allocations: 387.3 kB / 0.5126 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.4326, allocations: 107.1 kB / 0.5127 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.4327, allocations: 49.28 kB / 0.5128 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.4327, allocations: 0 / 0.5128 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.433, allocations: 105.9 kB / 0.5129 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.355e-06/0.433, allocations: 3.984 kB / 0.5129 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004469/0.4334, allocations: 200.3 kB / 0.5131 GB, free: 34.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.4335, allocations: 85.11 kB / 0.5132 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4346, allocations: 1.031 MB / 0.5142 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.4346, allocations: 25.7 kB / 0.5142 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4348, allocations: 234.4 kB / 0.5144 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.4348, allocations: 24.19 kB / 0.5144 GB, free: 33.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.4349, allocations: 28.59 kB / 0.5145 GB, free: 33.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.882e-05/0.435, allocations: 369.5 kB / 0.5148 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.435, allocations: 30.77 kB / 0.5148 GB, free: 33.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.4351, allocations: 57.19 kB / 0.5149 GB, free: 33.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.4353, allocations: 84.64 kB / 0.515 GB, free: 33.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4353, allocations: 5.125 kB / 0.515 GB, free: 33.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002962/0.4356, allocations: 174.8 kB / 0.5152 GB, free: 33.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4356, allocations: 5.953 kB / 0.5152 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.4357, allocations: 1.219 kB / 0.5152 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4357, allocations: 2.203 kB / 0.5152 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.4358, allocations: 24.61 kB / 0.5152 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.4359, allocations: 3.203 kB / 0.5152 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-05/0.436, allocations: 13.11 kB / 0.5152 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.436, allocations: 5.047 kB / 0.5152 GB, free: 33.07 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.0002338/0.4362, allocations: 231.4 kB / 0.5154 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.4363, allocations: 47.22 kB / 0.5155 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.4364, allocations: 59.58 kB / 0.5155 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4364, allocations: 3 kB / 0.5155 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4364, allocations: 3.938 kB / 0.5155 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4364, allocations: 0.5156 kB / 0.5155 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.4367, allocations: 349.8 kB / 0.5159 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4367, allocations: 0 / 0.5159 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.4367, allocations: 5.719 kB / 0.5159 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4367, allocations: 6.906 kB / 0.5159 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4368, allocations: 3.234 kB / 0.5159 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4368, allocations: 6.75 kB / 0.5159 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4368, allocations: 3.938 kB / 0.5159 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005886/0.4374, allocations: 0.8723 MB / 0.5167 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.4375, allocations: 142 kB / 0.5169 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.4376, allocations: 6.016 kB / 0.5169 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.4377, allocations: 11.03 kB / 0.5169 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.4377, allocations: 12.47 kB / 0.5169 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.4377, allocations: 5.891 kB / 0.5169 GB, free: 31.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008676/0.4386, allocations: 0.7666 MB / 0.5177 GB, free: 31.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4386, allocations: 2.531 kB / 0.5177 GB, free: 31.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003798/0.439, allocations: 41.3 kB / 0.5177 GB, free: 31.44 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.0009855/0.44, allocations: 414.4 kB / 0.5181 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4403, allocations: 79.08 kB / 0.5182 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4403, allocations: 0 / 0.5182 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4404, allocations: 40.64 kB / 0.5182 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.4409, allocations: 67.33 kB / 0.5183 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.4423, allocations: 1.086 MB / 0.5193 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4427, allocations: 0.8473 MB / 0.5202 GB, free: 29.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.4428, allocations: 57.28 kB / 0.5202 GB, free: 29.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.4429, allocations: 27.19 kB / 0.5202 GB, free: 29.84 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4429, allocations: 0 / 0.5202 GB, free: 29.84 MB / 378.7 MB Notification: Performance of Templates: time 0.007229/0.4501, allocations: 3.676 MB / 0.5238 GB, free: 29.49 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches