Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, 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.382/1.382, allocations: 222.9 MB / 241.6 MB, free: 11 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.001329/0.001329, allocations: 108.1 kB / 291.9 MB, free: 10.94 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.4253/0.4253, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.43, allocations: 60.8 MB / 0.5064 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003948/0.434, allocations: 1.616 MB / 0.508 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.4357, allocations: 0.9975 MB / 0.5089 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.4358, allocations: 2.844 kB / 0.5089 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.436, allocations: 20.83 kB / 0.509 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.4362, allocations: 38.73 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.4364, allocations: 70.05 kB / 0.5091 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.4366, allocations: 60.88 kB / 0.5091 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.4367, allocations: 5.844 kB / 0.5091 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.4367, allocations: 24.06 kB / 0.5092 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.4369, allocations: 27.98 kB / 0.5092 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.4369, allocations: 2.781 kB / 0.5092 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.669e-05/0.437, allocations: 52.84 kB / 0.5092 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.4371, allocations: 18.23 kB / 0.5093 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.4371, allocations: 14.78 kB / 0.5093 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.4373, allocations: 86.02 kB / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4373, allocations: 0 / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4373, allocations: 0 / 0.5094 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.4373, allocations: 1.188 kB / 0.5094 GB, free: 36.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004199/0.4377, allocations: 379 kB / 0.5097 GB, free: 36.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4378, allocations: 9.156 kB / 0.5097 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.4378, allocations: 12.66 kB / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.438, allocations: 191.8 kB / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.438, allocations: 1.625 kB / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.438, allocations: 1.5 kB / 0.5099 GB, free: 35.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4382, allocations: 66.81 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4382, allocations: 0 / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.4382, allocations: 1.219 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4382, allocations: 1.125 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.4383, allocations: 27.28 kB / 0.51 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.4386, allocations: 273.1 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.4388, allocations: 38.28 kB / 0.5103 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.4389, allocations: 21.77 kB / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4389, allocations: 6.938 kB / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.4389, allocations: 30.56 kB / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4389, allocations: 0 / 0.5104 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004824/0.4394, allocations: 134.1 kB / 0.5105 GB, free: 35.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.4395, allocations: 79.89 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.4396, allocations: 132.7 kB / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.4396, allocations: 36.64 kB / 0.5107 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.4396, allocations: 90.98 kB / 0.5108 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.4397, allocations: 19.12 kB / 0.5108 GB, free: 35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.4397, allocations: 15.41 kB / 0.5109 GB, free: 34.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.4397, allocations: 325.2 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.4398, allocations: 19.77 kB / 0.5112 GB, free: 34.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.4399, allocations: 35.19 kB / 0.5112 GB, free: 34.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.44, allocations: 46.33 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.44, allocations: 0 / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001482/0.4402, allocations: 80.69 kB / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4402, allocations: 5.594 kB / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4402, allocations: 0 / 0.5113 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4402, allocations: 6.781 kB / 0.5113 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/0.4403, allocations: 20.23 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4403, allocations: 0 / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.4403, allocations: 10.11 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.4403, allocations: 6.953 kB / 0.5114 GB, free: 34.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.874e-05/0.4404, allocations: 117.2 kB / 0.5115 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.4404, allocations: 6.75 kB / 0.5115 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.4406, allocations: 91.22 kB / 0.5116 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4406, allocations: 4 kB / 0.5116 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4407, allocations: 0 / 0.5116 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4407, allocations: 0 / 0.5116 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.441, allocations: 347.7 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.441, allocations: 0 / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.725e-05/0.441, allocations: 9.188 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4411, allocations: 6.203 kB / 0.5119 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4411, allocations: 8 kB / 0.5119 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4411, allocations: 7.875 kB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4411, allocations: 0 / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.4415, allocations: 0.7482 MB / 0.5127 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.4415, allocations: 81.02 kB / 0.5128 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.4415, allocations: 7 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.4416, allocations: 6.141 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.4416, allocations: 2.938 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4416, allocations: 3.375 kB / 0.5128 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.315e-05/0.4417, allocations: 102.6 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4417, allocations: 3.938 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.442, allocations: 25.86 kB / 0.5129 GB, free: 33.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008602/0.4429, allocations: 438.3 kB / 0.5133 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.4431, allocations: 41.5 kB / 0.5134 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4431, allocations: 3.938 kB / 0.5134 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.4432, allocations: 35.08 kB / 0.5134 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4435, allocations: 29.67 kB / 0.5134 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.4438, allocations: 281.5 kB / 0.5137 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.4439, allocations: 0.6894 MB / 0.5144 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.444, allocations: 17.42 kB / 0.5144 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.444, allocations: 10.38 kB / 0.5144 GB, free: 31.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.444, allocations: 2.25 kB / 0.5144 GB, free: 31.88 MB / 378.7 MB Notification: Performance of Templates: time 0.00309/0.4471, allocations: 1.312 MB / 0.5157 GB, free: 31.72 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches