Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, 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.348/1.348, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001052/0.001052, allocations: 108.2 kB / 291.9 MB, free: 10.95 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.3573/0.3573, allocations: 44.12 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 51.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4381, allocations: 60.8 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005435/0.4436, allocations: 3.527 MB / 0.5098 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4454, allocations: 0.7915 MB / 0.5106 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.4457, allocations: 12.38 kB / 0.5106 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.446, allocations: 59.08 kB / 0.5107 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.4464, allocations: 103.7 kB / 0.5108 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.4469, allocations: 113.6 kB / 0.5109 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.4475, allocations: 0.4961 MB / 0.5114 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.448, allocations: 202.4 kB / 0.5116 GB, free: 34.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.4483, allocations: 200.3 kB / 0.5118 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.4485, allocations: 230.3 kB / 0.512 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.4486, allocations: 40.03 kB / 0.512 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.954e-05/0.4486, allocations: 33.81 kB / 0.512 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.4487, allocations: 86.2 kB / 0.5121 GB, free: 34.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.4489, allocations: 248.1 kB / 0.5124 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.4494, allocations: 0.5257 MB / 0.5129 GB, free: 34.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4494, allocations: 0 / 0.5129 GB, free: 34.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4494, allocations: 0 / 0.5129 GB, free: 34.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.4494, allocations: 0 / 0.5129 GB, free: 34.23 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001286/0.4507, allocations: 0.7637 MB / 0.5136 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4507, allocations: 8.656 kB / 0.5136 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.4508, allocations: 50.88 kB / 0.5137 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.4512, allocations: 320.4 kB / 0.514 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.4512, allocations: 32.62 kB / 0.514 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/0.4513, allocations: 47.31 kB / 0.5141 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.452, allocations: 462 kB / 0.5145 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.452, allocations: 0 / 0.5145 GB, free: 33.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.4521, allocations: 20.34 kB / 0.5145 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.4521, allocations: 11.28 kB / 0.5145 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.4528, allocations: 327 kB / 0.5148 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.455, allocations: 1.695 MB / 0.5165 GB, free: 31.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.4556, allocations: 241.1 kB / 0.5167 GB, free: 31.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.456, allocations: 139.5 kB / 0.5169 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.456, allocations: 7.047 kB / 0.5169 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.456, allocations: 44.69 kB / 0.5169 GB, free: 31.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.456, allocations: 0 / 0.5169 GB, free: 31.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002649/0.4587, allocations: 1.325 MB / 0.5182 GB, free: 30.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4588, allocations: 86.83 kB / 0.5183 GB, free: 30.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.459, allocations: 255.9 kB / 0.5185 GB, free: 30.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.459, allocations: 36.61 kB / 0.5186 GB, free: 30.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4591, allocations: 264.6 kB / 0.5188 GB, free: 30.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.4592, allocations: 123.4 kB / 0.5189 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.4593, allocations: 75.91 kB / 0.519 GB, free: 30.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.4594, allocations: 338.1 kB / 0.5193 GB, free: 29.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.4597, allocations: 107.9 kB / 0.5194 GB, free: 29.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.46, allocations: 216.8 kB / 0.5196 GB, free: 29.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.4605, allocations: 341.7 kB / 0.52 GB, free: 29.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4606, allocations: 0 / 0.52 GB, free: 29.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007375/0.4613, allocations: 419.5 kB / 0.5204 GB, free: 29.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4613, allocations: 10.28 kB / 0.5204 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4613, allocations: 2.75 kB / 0.5204 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.4615, allocations: 35.05 kB / 0.5204 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.4619, allocations: 121.1 kB / 0.5205 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008193/0.4628, allocations: 1.353 MB / 0.5218 GB, free: 27.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.463, allocations: 16.72 kB / 0.5219 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.463, allocations: 18.91 kB / 0.5219 GB, free: 27.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0001667/0.4632, allocations: 162.1 kB / 0.522 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.4633, allocations: 33.75 kB / 0.5221 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.4634, allocations: 41.95 kB / 0.5221 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4634, allocations: 2.938 kB / 0.5221 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4634, allocations: 0 / 0.5221 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4635, allocations: 6.266 kB / 0.5221 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.4644, allocations: 0.7062 MB / 0.5228 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4645, allocations: 6.812 kB / 0.5228 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.4648, allocations: 94.84 kB / 0.5229 GB, free: 27.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.271e-05/0.4649, allocations: 23.83 kB / 0.5229 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.4649, allocations: 6.938 kB / 0.5229 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006469/0.4656, allocations: 1.336 MB / 0.5242 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4656, allocations: 0 / 0.5242 GB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.4691, allocations: 3.802 MB / 0.528 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.4693, allocations: 125.8 kB / 0.5281 GB, free: 22.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.4693, allocations: 6.625 kB / 0.5281 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.4696, allocations: 17.89 kB / 0.5281 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.4696, allocations: 29.75 kB / 0.5281 GB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.4697, allocations: 17.72 kB / 0.5281 GB, free: 22.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.4698, allocations: 179.8 kB / 0.5283 GB, free: 22.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4698, allocations: 0 / 0.5283 GB, free: 22.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.4704, allocations: 124.6 kB / 0.5284 GB, free: 22.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.0001173/0.4705, allocations: 106 kB / 0.5285 GB, free: 22.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.4713, allocations: 408.2 kB / 0.5289 GB, free: 21.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4713, allocations: 0 / 0.5289 GB, free: 21.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.4716, allocations: 254.1 kB / 0.5292 GB, free: 21.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.4721, allocations: 48.56 kB / 0.5292 GB, free: 21.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4739, allocations: 1.454 MB / 0.5306 GB, free: 20.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.4742, allocations: 0.8233 MB / 0.5314 GB, free: 19.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.4743, allocations: 35.55 kB / 0.5315 GB, free: 19.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.4744, allocations: 32.44 kB / 0.5315 GB, free: 19.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4744, allocations: 0 / 0.5315 GB, free: 19.97 MB / 378.7 MB Notification: Performance of Templates: time 0.006848/0.4813, allocations: 3.555 MB / 0.535 GB, free: 19.71 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches