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.001507/0.001507, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, 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.2322/0.2322, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4633, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.004378/0.4677, allocations: 2.485 MB / 0.5334 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.4696, allocations: 0.8396 MB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.4698, allocations: 4.125 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.4701, allocations: 58.5 kB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.4704, allocations: 105.3 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.4708, allocations: 101.5 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.4713, allocations: 354.4 kB / 0.5348 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.4716, allocations: 90.06 kB / 0.5349 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.472, allocations: 137.3 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.4722, allocations: 162.7 kB / 0.5352 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.4723, allocations: 30.06 kB / 0.5352 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.4724, allocations: 31.75 kB / 0.5353 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.4725, allocations: 74.66 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.4727, allocations: 154.5 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.4732, allocations: 381.3 kB / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4732, allocations: 0 / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4732, allocations: 1.062 kB / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.4732, allocations: 0 / 0.5358 GB, free: 9.852 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.001322/0.4745, allocations: 0.6242 MB / 0.5365 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.4746, allocations: 9.438 kB / 0.5365 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.4748, allocations: 39.84 kB / 0.5365 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.4753, allocations: 286.3 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4753, allocations: 18.38 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.4754, allocations: 19.78 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.476, allocations: 251.5 kB / 0.537 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.476, allocations: 0 / 0.537 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.476, allocations: 6.281 kB / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.476, allocations: 6.344 kB / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/0.4766, allocations: 240.3 kB / 0.5373 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.4784, allocations: 0.8761 MB / 0.5381 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.4792, allocations: 309.6 kB / 0.5384 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.4795, allocations: 142.1 kB / 0.5386 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.4796, allocations: 12.22 kB / 0.5386 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.4796, allocations: 35.81 kB / 0.5386 GB, free: 7.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.4796, allocations: 0 / 0.5386 GB, free: 7.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.004638/0.4842, allocations: 1.262 MB / 0.5399 GB, free: 6.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4843, allocations: 58.39 kB / 0.5399 GB, free: 6.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.4846, allocations: 231.4 kB / 0.5401 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4847, allocations: 34.77 kB / 0.5402 GB, free: 6.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4848, allocations: 169.6 kB / 0.5403 GB, free: 6.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.4849, allocations: 99.45 kB / 0.5404 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.485, allocations: 56.11 kB / 0.5405 GB, free: 6.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4852, allocations: 337.2 kB / 0.5408 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.4854, allocations: 97.2 kB / 0.5409 GB, free: 5.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.4857, allocations: 127.7 kB / 0.541 GB, free: 5.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.4862, allocations: 231.2 kB / 0.5412 GB, free: 5.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4862, allocations: 0 / 0.5412 GB, free: 5.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001773/0.488, allocations: 0.5421 MB / 0.5418 GB, free: 5.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.488, allocations: 7.562 kB / 0.5418 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.488, allocations: 0.9062 kB / 0.5418 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.4896, allocations: 314.9 kB / 0.5421 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.4898, allocations: 30.44 kB / 0.5421 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007789/0.4976, allocations: 6.845 MB / 0.5488 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.498, allocations: 35.73 kB / 0.5488 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.498, allocations: 8 kB / 0.5488 GB, free: 14.55 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.0002024/0.4982, allocations: 145.7 kB / 0.549 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.4983, allocations: 31.69 kB / 0.549 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.5002, allocations: 0.544 MB / 0.5495 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5002, allocations: 8 kB / 0.5495 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5002, allocations: 7.875 kB / 0.5495 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5002, allocations: 3.984 kB / 0.5495 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.5007, allocations: 353.3 kB / 0.5499 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5007, allocations: 0 / 0.5499 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5008, allocations: 19.98 kB / 0.5499 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.5023, allocations: 311.3 kB / 0.5502 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.5023, allocations: 7.984 kB / 0.5502 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/0.5101, allocations: 6.897 MB / 0.5569 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5102, allocations: 4.062 kB / 0.5569 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.5119, allocations: 0.6272 MB / 0.5576 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.512, allocations: 112.5 kB / 0.5577 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.5121, allocations: 8 kB / 0.5577 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.5122, allocations: 11.98 kB / 0.5577 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5124, allocations: 27.95 kB / 0.5577 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5124, allocations: 12 kB / 0.5577 GB, free: 4.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.5126, allocations: 170 kB / 0.5579 GB, free: 4.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5126, allocations: 0 / 0.5579 GB, free: 4.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005613/0.5131, allocations: 123.8 kB / 0.558 GB, free: 4.457 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.0001471/0.5133, allocations: 99.25 kB / 0.5581 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.5145, allocations: 0.7486 MB / 0.5588 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5145, allocations: 0 / 0.5588 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.5158, allocations: 0.7445 MB / 0.5596 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.5162, allocations: 20.56 kB / 0.5596 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.5175, allocations: 0.5676 MB / 0.5601 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.518, allocations: 0.7756 MB / 0.5609 GB, free: 1.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.5181, allocations: 9.953 kB / 0.5609 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.5182, allocations: 15.44 kB / 0.5609 GB, free: 1.309 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5182, allocations: 0 / 0.5609 GB, free: 1.309 MB / 414.1 MB Notification: Performance of Templates: time 0.01477/0.5329, allocations: 8.164 MB / 0.5689 GB, free: 9.18 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