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.001158/0.001158, allocations: 118.8 kB / 17.79 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 197.2 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2477/0.2477, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 79.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.487, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.007302/0.4943, allocations: 3.001 MB / 0.5339 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.4974, allocations: 0.7855 MB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005833/0.4981, allocations: 6.062 kB / 0.5347 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.4985, allocations: 57.03 kB / 0.5347 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.4991, allocations: 101.3 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.4997, allocations: 115.1 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009846/0.5007, allocations: 478.6 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.5011, allocations: 155.6 kB / 0.5356 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006518/0.5018, allocations: 180.6 kB / 0.5357 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.5024, allocations: 209.1 kB / 0.5359 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.5026, allocations: 38.38 kB / 0.536 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.5028, allocations: 45.53 kB / 0.536 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.5029, allocations: 89.75 kB / 0.5361 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.5034, allocations: 204.8 kB / 0.5363 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.5041, allocations: 472.6 kB / 0.5367 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5042, allocations: 0 / 0.5367 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5042, allocations: 1.031 kB / 0.5367 GB, free: 9.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.5042, allocations: 0 / 0.5367 GB, free: 9.141 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.001993/0.5062, allocations: 0.7092 MB / 0.5374 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.319e-05/0.5063, allocations: 13.77 kB / 0.5374 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004842/0.5068, allocations: 51.09 kB / 0.5375 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.5075, allocations: 298.2 kB / 0.5378 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.193e-05/0.5076, allocations: 32.59 kB / 0.5378 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.5077, allocations: 40.94 kB / 0.5378 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.5084, allocations: 344.1 kB / 0.5382 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.5085, allocations: 0 / 0.5382 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.5085, allocations: 15.47 kB / 0.5382 GB, free: 7.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.5085, allocations: 12.69 kB / 0.5382 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.5092, allocations: 305.5 kB / 0.5385 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.5117, allocations: 1.339 MB / 0.5398 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.5123, allocations: 276.7 kB / 0.5401 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.5127, allocations: 158.1 kB / 0.5402 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.5128, allocations: 4.625 kB / 0.5402 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.5128, allocations: 36.31 kB / 0.5403 GB, free: 6.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.5128, allocations: 4 kB / 0.5403 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.001045/0.5139, allocations: 381.4 kB / 0.5406 GB, free: 6.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.514, allocations: 59 kB / 0.5407 GB, free: 6.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.5143, allocations: 256.1 kB / 0.5409 GB, free: 6.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.5144, allocations: 38.97 kB / 0.541 GB, free: 5.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.5146, allocations: 198.3 kB / 0.5411 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.5147, allocations: 124.7 kB / 0.5413 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.5148, allocations: 75.06 kB / 0.5413 GB, free: 5.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.515, allocations: 337.4 kB / 0.5417 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.5152, allocations: 103.1 kB / 0.5418 GB, free: 5.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.5155, allocations: 173.8 kB / 0.5419 GB, free: 5.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.5161, allocations: 290.2 kB / 0.5422 GB, free: 4.945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5161, allocations: 0 / 0.5422 GB, free: 4.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007283/0.5168, allocations: 366.2 kB / 0.5426 GB, free: 4.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.5169, allocations: 9.688 kB / 0.5426 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5169, allocations: 5.156 kB / 0.5426 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.5169, allocations: 4.344 kB / 0.5426 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.5174, allocations: 102.7 kB / 0.5427 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.5175, allocations: 8.375 kB / 0.5427 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.5178, allocations: 39.2 kB / 0.5427 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.5178, allocations: 19.03 kB / 0.5427 GB, free: 4.688 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.0001737/0.518, allocations: 156.1 kB / 0.5429 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.5181, allocations: 28.62 kB / 0.5429 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.5188, allocations: 327.4 kB / 0.5432 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5188, allocations: 7.797 kB / 0.5432 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5188, allocations: 0 / 0.5432 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5188, allocations: 9.266 kB / 0.5432 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.5194, allocations: 405.4 kB / 0.5436 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5194, allocations: 0.9375 kB / 0.5436 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.5198, allocations: 77.14 kB / 0.5437 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.5198, allocations: 5.125 kB / 0.5437 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.5198, allocations: 10.39 kB / 0.5437 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.5199, allocations: 5.469 kB / 0.5437 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.5199, allocations: 0 / 0.5437 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.5208, allocations: 0.516 MB / 0.5442 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.521, allocations: 123.3 kB / 0.5443 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.5211, allocations: 6.219 kB / 0.5443 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.5213, allocations: 13.42 kB / 0.5444 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.5214, allocations: 22.38 kB / 0.5444 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.5214, allocations: 8.875 kB / 0.5444 GB, free: 3.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.5216, allocations: 191.5 kB / 0.5446 GB, free: 3.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5216, allocations: 0 / 0.5446 GB, free: 3.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004198/0.5221, allocations: 95.28 kB / 0.5447 GB, free: 3.285 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.000124/0.5222, allocations: 107.2 kB / 0.5448 GB, free: 3.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.5228, allocations: 277.1 kB / 0.545 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5228, allocations: 0 / 0.545 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5231, allocations: 144.3 kB / 0.5452 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.5234, allocations: 28.92 kB / 0.5452 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.5249, allocations: 0.7514 MB / 0.5459 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.5252, allocations: 0.7837 MB / 0.5467 GB, free: 1.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.5254, allocations: 42.88 kB / 0.5467 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.5255, allocations: 27.44 kB / 0.5468 GB, free: 1.09 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5255, allocations: 0 / 0.5468 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Templates: time 0.007062/0.5326, allocations: 2.767 MB / 0.5495 GB, free: 14.34 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