Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2488/0.2488, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 75.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4686/0.4701, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004747/0.4749, allocations: 2.49 MB / 0.5334 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.4778, allocations: 0.8309 MB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.4784, allocations: 8.031 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.4789, allocations: 58.91 kB / 0.5343 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.4796, allocations: 109.2 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.48, allocations: 97.5 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006422/0.4807, allocations: 362.5 kB / 0.5348 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.4809, allocations: 98.41 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.4814, allocations: 136.8 kB / 0.5351 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.4817, allocations: 162.5 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.222e-05/0.4818, allocations: 30.25 kB / 0.5352 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.4819, allocations: 31.62 kB / 0.5353 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.482, allocations: 68 kB / 0.5353 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.4822, allocations: 161.1 kB / 0.5355 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.4827, allocations: 376.2 kB / 0.5358 GB, free: 9.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4828, allocations: 0 / 0.5358 GB, free: 9.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4828, allocations: 0 / 0.5358 GB, free: 9.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.4828, allocations: 1.125 kB / 0.5358 GB, free: 9.832 MB / 398.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.001493/0.4843, allocations: 0.6395 MB / 0.5365 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.233e-05/0.4844, allocations: 9.188 kB / 0.5365 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.4847, allocations: 40.2 kB / 0.5365 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.4853, allocations: 273.8 kB / 0.5368 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.671e-05/0.4854, allocations: 19.16 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.4854, allocations: 23.69 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.4861, allocations: 255.5 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4861, allocations: 0 / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.4861, allocations: 10.78 kB / 0.5371 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.4862, allocations: 5.719 kB / 0.5371 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.4868, allocations: 228.8 kB / 0.5373 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.4885, allocations: 0.8838 MB / 0.5382 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.4891, allocations: 301.5 kB / 0.5385 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.4895, allocations: 142.2 kB / 0.5386 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.4895, allocations: 11.73 kB / 0.5386 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.4896, allocations: 36.88 kB / 0.5386 GB, free: 7.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.4896, allocations: 0 / 0.5386 GB, free: 7.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004773/0.4943, allocations: 1.261 MB / 0.5399 GB, free: 6.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4944, allocations: 58.48 kB / 0.5399 GB, free: 6.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.4947, allocations: 240.7 kB / 0.5401 GB, free: 6.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.4948, allocations: 32.27 kB / 0.5402 GB, free: 6.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4949, allocations: 164.5 kB / 0.5403 GB, free: 6.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-05/0.495, allocations: 110.8 kB / 0.5404 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.4951, allocations: 48.45 kB / 0.5405 GB, free: 6.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4953, allocations: 341.3 kB / 0.5408 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.4956, allocations: 92.39 kB / 0.5409 GB, free: 5.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.4959, allocations: 124.4 kB / 0.541 GB, free: 5.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.4965, allocations: 235.3 kB / 0.5412 GB, free: 5.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4965, allocations: 5.406 kB / 0.5413 GB, free: 5.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002029/0.4985, allocations: 0.541 MB / 0.5418 GB, free: 5.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4986, allocations: 14.97 kB / 0.5418 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.4986, allocations: 1.25 kB / 0.5418 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.5004, allocations: 311.1 kB / 0.5421 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.5006, allocations: 33.91 kB / 0.5421 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009268/0.5099, allocations: 6.842 MB / 0.5488 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.5102, allocations: 31.84 kB / 0.5488 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.5102, allocations: 16 kB / 0.5489 GB, free: 14.51 MB / 414.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.0002541/0.5105, allocations: 141.8 kB / 0.549 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.5106, allocations: 27.81 kB / 0.549 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.5124, allocations: 0.5519 MB / 0.5496 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5124, allocations: 4 kB / 0.5496 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5124, allocations: 7.938 kB / 0.5496 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5125, allocations: 3.984 kB / 0.5496 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.5131, allocations: 357.3 kB / 0.5499 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5131, allocations: 0 / 0.5499 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.5132, allocations: 23.98 kB / 0.5499 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.5147, allocations: 319.1 kB / 0.5502 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.5147, allocations: 7.922 kB / 0.5502 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008318/0.523, allocations: 6.901 MB / 0.557 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5231, allocations: 0 / 0.557 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.5249, allocations: 0.6313 MB / 0.5576 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.525, allocations: 100.8 kB / 0.5577 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.5251, allocations: 8.25 kB / 0.5577 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.5253, allocations: 11.98 kB / 0.5577 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.5254, allocations: 43.89 kB / 0.5578 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.5255, allocations: 8 kB / 0.5578 GB, free: 4.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.5257, allocations: 170 kB / 0.5579 GB, free: 4.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5257, allocations: 0 / 0.5579 GB, free: 4.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006976/0.5264, allocations: 119.9 kB / 0.558 GB, free: 4.402 MB / 414.1 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 (11): * Single equations (assignments): 7 * 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 {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.5266, allocations: 102.6 kB / 0.5581 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.5279, allocations: 0.7602 MB / 0.5589 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5279, allocations: 4 kB / 0.5589 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.5292, allocations: 0.729 MB / 0.5596 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.5296, allocations: 28.48 kB / 0.5596 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.5308, allocations: 0.5713 MB / 0.5602 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.5314, allocations: 0.7756 MB / 0.5609 GB, free: 1.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.381e-05/0.5315, allocations: 9.953 kB / 0.5609 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.5316, allocations: 15.44 kB / 0.561 GB, free: 1.238 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5316, allocations: 0 / 0.561 GB, free: 1.238 MB / 414.1 MB Notification: Performance of Templates: time 0.01626/0.5478, allocations: 8.165 MB / 0.5689 GB, free: 9.109 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches