Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009818/0.0009823, allocations: 174.2 kB / 17.41 MB, free: 4.414 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.362/1.362, allocations: 225.7 MB / 243.9 MB, free: 8.445 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.0007852/0.0007853, allocations: 92.81 kB / 295 MB, free: 9.484 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.3618/0.3618, allocations: 44.32 MB / 390.5 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 8 kB / 463.1 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4196, allocations: 61.89 MB / 0.5127 GB, free: 38.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002722/0.4224, allocations: 1.398 MB / 0.5141 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002593/0.4227, allocations: 88.28 kB / 0.5142 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.4228, allocations: 0 / 0.5142 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.794e-05/0.4228, allocations: 11.25 kB / 0.5142 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.423, allocations: 15.73 kB / 0.5142 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.4231, allocations: 30.09 kB / 0.5142 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.4233, allocations: 97.53 kB / 0.5143 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.4236, allocations: 52.05 kB / 0.5144 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.4237, allocations: 33.64 kB / 0.5144 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.4238, allocations: 41.19 kB / 0.5144 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.4238, allocations: 13.44 kB / 0.5145 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.613e-05/0.4239, allocations: 6.062 kB / 0.5145 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.4239, allocations: 10.33 kB / 0.5145 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.14e-05/0.424, allocations: 78.44 kB / 0.5146 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.4242, allocations: 112.5 kB / 0.5147 GB, free: 36.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4242, allocations: 0 / 0.5147 GB, free: 36.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4242, allocations: 0 / 0.5147 GB, free: 36.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.4242, allocations: 0 / 0.5147 GB, free: 36.69 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006881/0.4249, allocations: 410 kB / 0.5151 GB, free: 36.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.425, allocations: 12.66 kB / 0.5151 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.4251, allocations: 14.44 kB / 0.5151 GB, free: 36.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.4252, allocations: 174 kB / 0.5152 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4253, allocations: 7.188 kB / 0.5152 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.4253, allocations: 13.11 kB / 0.5153 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004785/0.4258, allocations: 134.3 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.4258, allocations: 192 / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.4258, allocations: 6.844 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4259, allocations: 0 / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.4265, allocations: 131.3 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.4276, allocations: 489.5 kB / 0.516 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.428, allocations: 96.22 kB / 0.5161 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.4284, allocations: 72.3 kB / 0.5161 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.4284, allocations: 4 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4285, allocations: 33.19 kB / 0.5162 GB, free: 35.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.4285, allocations: 0 / 0.5162 GB, free: 35.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.001268/0.4298, allocations: 305.3 kB / 0.5165 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.4298, allocations: 51.41 kB / 0.5165 GB, free: 35.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4299, allocations: 124.5 kB / 0.5166 GB, free: 35.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.43, allocations: 25.7 kB / 0.5167 GB, free: 35.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.4301, allocations: 116.3 kB / 0.5168 GB, free: 34.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.4301, allocations: 22.31 kB / 0.5168 GB, free: 34.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.4301, allocations: 0 / 0.5168 GB, free: 34.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.4302, allocations: 325.4 kB / 0.5171 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.4304, allocations: 43.45 kB / 0.5172 GB, free: 34.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.4307, allocations: 76.88 kB / 0.5172 GB, free: 34.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.4313, allocations: 119.4 kB / 0.5173 GB, free: 34.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.4313, allocations: 3.938 kB / 0.5173 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006429/0.4319, allocations: 159.9 kB / 0.5175 GB, free: 34.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.432, allocations: 9.844 kB / 0.5175 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.432, allocations: 3.203 kB / 0.5175 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.4322, allocations: 21.47 kB / 0.5175 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.4324, allocations: 26.89 kB / 0.5176 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.4336, allocations: 1.306 MB / 0.5188 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.4338, allocations: 29.81 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.4338, allocations: 2.219 kB / 0.5189 GB, free: 33.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.4339, allocations: 126.2 kB / 0.519 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.434, allocations: 2.312 kB / 0.519 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.434, allocations: 15.8 kB / 0.519 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4341, allocations: 4.969 kB / 0.519 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4341, allocations: 1.062 kB / 0.519 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4341, allocations: 0.75 kB / 0.519 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009944/0.4351, allocations: 445.9 kB / 0.5194 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4351, allocations: 0.6875 kB / 0.5194 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.4353, allocations: 24.69 kB / 0.5195 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.4354, allocations: 24.11 kB / 0.5195 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4354, allocations: 0 / 0.5195 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009843/0.4364, allocations: 1.292 MB / 0.5207 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4365, allocations: 4.969 kB / 0.5207 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.4372, allocations: 268 kB / 0.521 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.4372, allocations: 83.27 kB / 0.5211 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4373, allocations: 12.45 kB / 0.5211 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.4375, allocations: 15.55 kB / 0.5211 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.4376, allocations: 14.5 kB / 0.5211 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4376, allocations: 2.219 kB / 0.5211 GB, free: 30.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.4377, allocations: 95.98 kB / 0.5212 GB, free: 30.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4377, allocations: 0 / 0.5212 GB, free: 30.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004669/0.4382, allocations: 26.97 kB / 0.5212 GB, free: 30.9 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.4383, allocations: 107.7 kB / 0.5213 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.4391, allocations: 230.5 kB / 0.5216 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4391, allocations: 3 kB / 0.5216 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.4395, allocations: 173.1 kB / 0.5217 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.4399, allocations: 6.906 kB / 0.5217 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.4406, allocations: 255.7 kB / 0.522 GB, free: 30.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.4408, allocations: 0.6968 MB / 0.5227 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.401e-05/0.4408, allocations: 7.297 kB / 0.5227 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.4409, allocations: 8.812 kB / 0.5227 GB, free: 29.62 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4409, allocations: 0 / 0.5227 GB, free: 29.62 MB / 378.7 MB Notification: Performance of Templates: time 0.005248/0.4462, allocations: 0.9601 MB / 0.5236 GB, free: 29.52 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches