Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3251/0.3251, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 75.89 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4637, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004388/0.4682, allocations: 3.001 MB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.4697, allocations: 0.7826 MB / 0.5347 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.4699, allocations: 5.281 kB / 0.5347 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.4701, allocations: 60.91 kB / 0.5347 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.4703, allocations: 98.52 kB / 0.5348 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.4707, allocations: 123.1 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.4712, allocations: 470.3 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.4715, allocations: 152.4 kB / 0.5355 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.4718, allocations: 187.8 kB / 0.5357 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.4721, allocations: 208.9 kB / 0.5359 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.4721, allocations: 39.22 kB / 0.536 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.4722, allocations: 52.81 kB / 0.536 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.353e-05/0.4723, allocations: 85.61 kB / 0.5361 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.4725, allocations: 202.1 kB / 0.5363 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005083/0.473, allocations: 472.3 kB / 0.5367 GB, free: 9.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.473, allocations: 3.984 kB / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.473, allocations: 0 / 0.5367 GB, free: 9.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.4731, allocations: 1.094 kB / 0.5367 GB, free: 9.121 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001433/0.4745, allocations: 0.7042 MB / 0.5374 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.4746, allocations: 10.78 kB / 0.5374 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.4749, allocations: 54.45 kB / 0.5375 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.4754, allocations: 301.9 kB / 0.5378 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.4755, allocations: 28.53 kB / 0.5378 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.4756, allocations: 42.06 kB / 0.5378 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/0.4763, allocations: 343.8 kB / 0.5382 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4763, allocations: 0 / 0.5382 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.4764, allocations: 18.67 kB / 0.5382 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.4764, allocations: 13.66 kB / 0.5382 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006923/0.4771, allocations: 304.4 kB / 0.5385 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.4793, allocations: 1.332 MB / 0.5398 GB, free: 6.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.4798, allocations: 280.5 kB / 0.5401 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.4801, allocations: 159.5 kB / 0.5402 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.4802, allocations: 3.312 kB / 0.5402 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.4802, allocations: 36.41 kB / 0.5403 GB, free: 6.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.293e-06/0.4802, allocations: 4 kB / 0.5403 GB, free: 6.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008576/0.4811, allocations: 377.1 kB / 0.5406 GB, free: 6.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4811, allocations: 59.72 kB / 0.5407 GB, free: 6.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.4814, allocations: 267.5 kB / 0.5409 GB, free: 6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.4815, allocations: 31.05 kB / 0.541 GB, free: 5.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.4816, allocations: 202 kB / 0.5412 GB, free: 5.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.4817, allocations: 125 kB / 0.5413 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.4819, allocations: 70.53 kB / 0.5413 GB, free: 5.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.482, allocations: 341.4 kB / 0.5417 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.4823, allocations: 100.1 kB / 0.5418 GB, free: 5.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.4826, allocations: 174.2 kB / 0.5419 GB, free: 5.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/0.4832, allocations: 292.8 kB / 0.5422 GB, free: 4.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4832, allocations: 1.5 kB / 0.5422 GB, free: 4.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006926/0.4839, allocations: 358.1 kB / 0.5425 GB, free: 4.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4839, allocations: 5.781 kB / 0.5426 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.484, allocations: 10.06 kB / 0.5426 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.484, allocations: 3.5 kB / 0.5426 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.4845, allocations: 102.9 kB / 0.5427 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4845, allocations: 7.844 kB / 0.5427 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.4848, allocations: 47.92 kB / 0.5427 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4848, allocations: 14.88 kB / 0.5427 GB, free: 4.668 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.485, allocations: 151.8 kB / 0.5429 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.485, allocations: 33.59 kB / 0.5429 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.4857, allocations: 331.1 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4858, allocations: 3.312 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4858, allocations: 1.219 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4858, allocations: 0 / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.4863, allocations: 406.4 kB / 0.5436 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4863, allocations: 0 / 0.5436 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.4867, allocations: 84.53 kB / 0.5437 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4867, allocations: 10.17 kB / 0.5437 GB, free: 3.914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.4868, allocations: 5.125 kB / 0.5437 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4868, allocations: 6.594 kB / 0.5437 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4868, allocations: 0 / 0.5437 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.4877, allocations: 0.5119 MB / 0.5442 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.4878, allocations: 127.7 kB / 0.5443 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.4879, allocations: 6.5 kB / 0.5443 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4881, allocations: 12.8 kB / 0.5444 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.4882, allocations: 22 kB / 0.5444 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.4882, allocations: 5.438 kB / 0.5444 GB, free: 3.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.4884, allocations: 191.1 kB / 0.5446 GB, free: 3.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4884, allocations: 0 / 0.5446 GB, free: 3.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.4888, allocations: 98.94 kB / 0.5447 GB, free: 3.266 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.489, allocations: 104.1 kB / 0.5448 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005659/0.4895, allocations: 275.9 kB / 0.545 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4895, allocations: 0 / 0.545 GB, free: 2.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.4898, allocations: 144.3 kB / 0.5452 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.4901, allocations: 35.12 kB / 0.5452 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.4915, allocations: 0.7514 MB / 0.5459 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.4919, allocations: 0.7876 MB / 0.5467 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.492, allocations: 30.95 kB / 0.5467 GB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.4921, allocations: 35.38 kB / 0.5468 GB, free: 1.059 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4921, allocations: 0 / 0.5468 GB, free: 1.059 MB / 398.1 MB Notification: Performance of Templates: time 0.006102/0.4983, allocations: 2.712 MB / 0.5494 GB, free: 14.37 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches