Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 108.9 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 243.1 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4331, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003413/0.4365, allocations: 2.445 MB / 0.5219 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.438, allocations: 0.7724 MB / 0.5227 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.4381, allocations: 3.656 kB / 0.5227 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.4384, allocations: 54.39 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.4387, allocations: 105.7 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.439, allocations: 90.02 kB / 0.5229 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.4394, allocations: 343.5 kB / 0.5233 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.4396, allocations: 96.44 kB / 0.5234 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.4398, allocations: 143.3 kB / 0.5235 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.4401, allocations: 151.1 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.997e-05/0.4401, allocations: 29.91 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.4402, allocations: 28.84 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.4403, allocations: 69.39 kB / 0.5238 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.4404, allocations: 147.8 kB / 0.5239 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.4409, allocations: 363.6 kB / 0.5243 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.4409, allocations: 4.562 kB / 0.5243 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4409, allocations: 1.062 kB / 0.5243 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.441, allocations: 0 / 0.5243 GB, free: 0.5664 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001027/0.442, allocations: 0.6084 MB / 0.5249 GB, free: 76 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.442, allocations: 8 kB / 0.5249 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.4421, allocations: 36.09 kB / 0.5249 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.4425, allocations: 257.9 kB / 0.5251 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.4425, allocations: 23.52 kB / 0.5252 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.4426, allocations: 23.81 kB / 0.5252 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.4432, allocations: 248.2 kB / 0.5254 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4432, allocations: 4 kB / 0.5254 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.4432, allocations: 10.94 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4432, allocations: 9.219 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/0.4438, allocations: 236.2 kB / 0.5257 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.4453, allocations: 0.8726 MB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.4459, allocations: 296.7 kB / 0.5268 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.4462, allocations: 147.4 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.4462, allocations: 4.125 kB / 0.527 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.4463, allocations: 40.59 kB / 0.527 GB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.4463, allocations: 3.938 kB / 0.527 GB, free: 14.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004488/0.4508, allocations: 1.254 MB / 0.5282 GB, free: 13.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4508, allocations: 58.75 kB / 0.5283 GB, free: 13.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.4511, allocations: 215.8 kB / 0.5285 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.4511, allocations: 30.77 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4512, allocations: 168.8 kB / 0.5287 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.4513, allocations: 94.59 kB / 0.5288 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.4514, allocations: 55.98 kB / 0.5288 GB, free: 13.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4515, allocations: 331.9 kB / 0.5291 GB, free: 13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.4518, allocations: 97.55 kB / 0.5292 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.452, allocations: 122 kB / 0.5293 GB, free: 12.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.4525, allocations: 230.9 kB / 0.5296 GB, free: 12.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4525, allocations: 0 / 0.5296 GB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001772/0.4543, allocations: 0.5427 MB / 0.5301 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4543, allocations: 9.125 kB / 0.5301 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4544, allocations: 3.938 kB / 0.5301 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.456, allocations: 309.1 kB / 0.5304 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4562, allocations: 35.06 kB / 0.5304 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007818/0.464, allocations: 6.829 MB / 0.5371 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.4644, allocations: 31.64 kB / 0.5371 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.4644, allocations: 11.12 kB / 0.5371 GB, free: 5.711 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.4647, allocations: 148.3 kB / 0.5373 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.4648, allocations: 22.31 kB / 0.5373 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4666, allocations: 0.5495 MB / 0.5378 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.4667, allocations: 3.984 kB / 0.5378 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4667, allocations: 1.094 kB / 0.5378 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.4668, allocations: 103.9 kB / 0.5379 GB, free: 5.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.4668, allocations: 5.25 kB / 0.538 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.467, allocations: 13.14 kB / 0.538 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4671, allocations: 39.83 kB / 0.538 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001876/0.469, allocations: 0.5839 MB / 0.5386 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009132/0.47, allocations: 0.6012 MB / 0.5392 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002304/0.4702, allocations: 108 kB / 0.5393 GB, free: 4.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.4704, allocations: 161.4 kB / 0.5394 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Backend: time 3.71e-07/0.4704, allocations: 0 / 0.5394 GB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.4716, allocations: 0.7402 MB / 0.5401 GB, free: 3.473 MB / 398.1 MB Notification: Performance of SimCode: time 0.001393/0.473, allocations: 1.093 MB / 0.5412 GB, free: 2.566 MB / 398.1 MB Notification: Performance of Templates: time 0.01271/0.4857, allocations: 6.25 MB / 0.5473 GB, free: 14.56 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches