Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 180 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008165/0.0008168, allocations: 94.05 kB / 295 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4266/0.4266, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003511, allocations: 8 kB / 463.1 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.379, allocations: 61.9 MB / 0.5127 GB, free: 38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006703/0.3797, allocations: 209.1 kB / 0.5129 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.3831, allocations: 2.91 MB / 0.5158 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.3831, allocations: 2.781 kB / 0.5158 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.3832, allocations: 0 / 0.5158 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.613e-05/0.3832, allocations: 0 / 0.5158 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3843, allocations: 280.4 kB / 0.516 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.1e-05/0.3844, allocations: 2.906 kB / 0.516 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.3844, allocations: 3.938 kB / 0.516 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.3845, allocations: 3 kB / 0.516 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04162/0.4261, allocations: 3.268 MB / 0.5192 GB, free: 34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.4261, allocations: 0 / 0.5192 GB, free: 34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.4262, allocations: 3.828 kB / 0.5192 GB, free: 34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.4262, allocations: 6.922 kB / 0.5193 GB, free: 33.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.4263, allocations: 26.5 kB / 0.5193 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.41e-05/0.4264, allocations: 11.2 kB / 0.5193 GB, free: 33.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4264, allocations: 0 / 0.5193 GB, free: 33.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4264, allocations: 7.938 kB / 0.5193 GB, free: 33.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.4264, allocations: 0 / 0.5193 GB, free: 33.95 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002638/0.4267, allocations: 308.3 kB / 0.5196 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4267, allocations: 8.719 kB / 0.5196 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.427, allocations: 84.86 kB / 0.5197 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.4271, allocations: 236.9 kB / 0.5199 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.4271, allocations: 154.9 kB / 0.5201 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.4272, allocations: 162.5 kB / 0.5202 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.241e-05/0.4272, allocations: 104.9 kB / 0.5203 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4272, allocations: 75.28 kB / 0.5204 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.4273, allocations: 151.2 kB / 0.5205 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.4273, allocations: 154.5 kB / 0.5207 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.4274, allocations: 157.6 kB / 0.5208 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.4276, allocations: 443.9 kB / 0.5212 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.4277, allocations: 177.1 kB / 0.5214 GB, free: 31.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.4277, allocations: 84.69 kB / 0.5215 GB, free: 31.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.4277, allocations: 82.16 kB / 0.5216 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4278, allocations: 106.4 kB / 0.5217 GB, free: 31.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.4278, allocations: 0 / 0.5217 GB, free: 31.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.449e-05/0.4279, allocations: 33.03 kB / 0.5217 GB, free: 31.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.4279, allocations: 182.8 kB / 0.5219 GB, free: 31.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.355e-05/0.428, allocations: 93.19 kB / 0.522 GB, free: 31.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.428, allocations: 29.77 kB / 0.522 GB, free: 31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.987e-05/0.4281, allocations: 84.8 kB / 0.5221 GB, free: 30.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.4281, allocations: 0 / 0.5221 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/0.4281, allocations: 0 / 0.5221 GB, free: 30.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.4281, allocations: 311.4 kB / 0.5224 GB, free: 30.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-06/0.4281, allocations: 3.062 kB / 0.5224 GB, free: 30.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.4282, allocations: 10.23 kB / 0.5224 GB, free: 30.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.732e-05/0.4282, allocations: 75.28 kB / 0.5225 GB, free: 30.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.4282, allocations: 82.66 kB / 0.5225 GB, free: 30.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.798e-05/0.4283, allocations: 37.55 kB / 0.5226 GB, free: 30.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4283, allocations: 78.34 kB / 0.5226 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.4284, allocations: 82.7 kB / 0.5227 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/0.4284, allocations: 151.3 kB / 0.5229 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.626e-05/0.4284, allocations: 83.67 kB / 0.523 GB, free: 30.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.4284, allocations: 151.3 kB / 0.5231 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.635e-05/0.4285, allocations: 82.27 kB / 0.5232 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4286, allocations: 82.12 kB / 0.5233 GB, free: 29.71 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 (0): * Single equations (assignments): 0 * 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 7.878e-05/0.4287, allocations: 261.6 kB / 0.5235 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.4287, allocations: 109.8 kB / 0.5236 GB, free: 29.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.4288, allocations: 108.8 kB / 0.5237 GB, free: 29.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.4288, allocations: 181 kB / 0.5239 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.063e-05/0.4288, allocations: 181 kB / 0.5241 GB, free: 28.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/0.4289, allocations: 184.8 kB / 0.5242 GB, free: 28.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.429, allocations: 403.8 kB / 0.5246 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.4291, allocations: 109.1 kB / 0.5247 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.4291, allocations: 101.7 kB / 0.5248 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.659e-05/0.4291, allocations: 181 kB / 0.525 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.4292, allocations: 184.7 kB / 0.5252 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.918e-05/0.4292, allocations: 183.8 kB / 0.5253 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.692e-05/0.4292, allocations: 180.8 kB / 0.5255 GB, free: 27.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.928e-05/0.4293, allocations: 308.9 kB / 0.5258 GB, free: 26.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.4294, allocations: 190.1 kB / 0.526 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.4294, allocations: 177.1 kB / 0.5262 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.4295, allocations: 108.7 kB / 0.5263 GB, free: 26.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.4296, allocations: 177 kB / 0.5264 GB, free: 26.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4296, allocations: 108.5 kB / 0.5265 GB, free: 26.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.119e-05/0.4296, allocations: 79.88 kB / 0.5266 GB, free: 26.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4296, allocations: 0 / 0.5266 GB, free: 26.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.43, allocations: 6.844 kB / 0.5266 GB, free: 26.08 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 (0): * Single equations (assignments): 0 * 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.0001117/0.4301, allocations: 171.9 kB / 0.5268 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.939e-05/0.4302, allocations: 3.656 kB / 0.5268 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4302, allocations: 0 / 0.5268 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4302, allocations: 96 / 0.5268 GB, free: 25.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4306, allocations: 0.5261 MB / 0.5273 GB, free: 25.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.4308, allocations: 149.5 kB / 0.5274 GB, free: 25.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4309, allocations: 0.6741 MB / 0.5281 GB, free: 24.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.043e-05/0.431, allocations: 3.938 kB / 0.5281 GB, free: 24.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-06/0.431, allocations: 11.44 kB / 0.5281 GB, free: 24.51 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.431, allocations: 0 / 0.5281 GB, free: 24.51 MB / 378.7 MB Notification: Performance of Templates: time 0.002338/0.4333, allocations: 289.2 kB / 0.5284 GB, free: 24.45 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches