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.001248/0.001248, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 77.38 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1242, allocations: 62.45 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004988/0.1292, allocations: 2.999 MB / 483.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1311, allocations: 0.775 MB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.1315, allocations: 11.94 kB / 484.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1318, allocations: 59.38 kB / 484.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.1323, allocations: 103.1 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.1327, allocations: 123.8 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006498/0.1334, allocations: 462.7 kB / 485.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.1337, allocations: 152.2 kB / 485.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.1341, allocations: 191.3 kB / 485.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.1345, allocations: 207.1 kB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.028e-05/0.1346, allocations: 39.94 kB / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1347, allocations: 44 kB / 485.8 MB, free: 128 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.1348, allocations: 87.67 kB / 485.9 MB, free: 40 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.1351, allocations: 207.1 kB / 486.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.1356, allocations: 474.1 kB / 486.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1356, allocations: 0 / 486.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1357, allocations: 0 / 486.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.1357, allocations: 0 / 486.6 MB, free: 15.37 MB / 366.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.001651/0.1373, allocations: 0.702 MB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1374, allocations: 9.109 kB / 487.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.1377, allocations: 56.45 kB / 487.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.1382, allocations: 283.5 kB / 487.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.1382, allocations: 25.38 kB / 487.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.1383, allocations: 44.38 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.139, allocations: 346.8 kB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.139, allocations: 0 / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.1391, allocations: 16 kB / 488.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1391, allocations: 8 kB / 488.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.1397, allocations: 303.8 kB / 488.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.1422, allocations: 1.356 MB / 489.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.1428, allocations: 273.8 kB / 490 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.1431, allocations: 157.4 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.1431, allocations: 8.219 kB / 490.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1432, allocations: 38.84 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.963e-06/0.1432, allocations: 4 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008735/0.144, allocations: 371.3 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.1441, allocations: 59.34 kB / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.1444, allocations: 262.7 kB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1444, allocations: 33.7 kB / 490.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1446, allocations: 207.9 kB / 491.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.74e-05/0.1447, allocations: 122.3 kB / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.1448, allocations: 70.03 kB / 491.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.145, allocations: 338.8 kB / 491.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.1453, allocations: 104.8 kB / 491.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.1456, allocations: 179.4 kB / 491.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.1461, allocations: 288.6 kB / 492.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1461, allocations: 0 / 492.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007126/0.1468, allocations: 362 kB / 492.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1469, allocations: 8.219 kB / 492.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1469, allocations: 4 kB / 492.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1469, allocations: 4 kB / 492.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.1474, allocations: 107.8 kB / 492.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1475, allocations: 4 kB / 492.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.1478, allocations: 43.52 kB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.1478, allocations: 16 kB / 492.7 MB, free: 8.93 MB / 366.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.0001681/0.148, allocations: 145.7 kB / 492.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.148, allocations: 31.62 kB / 492.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/0.1487, allocations: 332 kB / 493.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.1488, allocations: 4 kB / 493.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1488, allocations: 0 / 493.2 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1488, allocations: 7.922 kB / 493.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.1493, allocations: 409.1 kB / 493.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1493, allocations: 0 / 493.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.1497, allocations: 83.88 kB / 493.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1497, allocations: 4 kB / 493.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.1498, allocations: 8 kB / 493.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.1498, allocations: 7.984 kB / 493.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1498, allocations: 0 / 493.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.1507, allocations: 0.5104 MB / 494.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1508, allocations: 132.8 kB / 494.4 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.1509, allocations: 4 kB / 494.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.1511, allocations: 11.98 kB / 494.4 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.1512, allocations: 23.97 kB / 494.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1512, allocations: 4 kB / 494.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1514, allocations: 201.9 kB / 494.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1514, allocations: 0 / 494.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.1518, allocations: 87.75 kB / 494.7 MB, free: 6.848 MB / 366.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.0001224/0.1519, allocations: 103.2 kB / 494.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.1526, allocations: 295.8 kB / 495.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1526, allocations: 3.938 kB / 495.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.1529, allocations: 136.3 kB / 495.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1533, allocations: 36.86 kB / 495.3 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1549, allocations: 0.8001 MB / 496.1 MB, free: 5.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.1553, allocations: 0.7835 MB / 496.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1555, allocations: 31.42 kB / 496.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1555, allocations: 0 / 496.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of Templates: time 0.008447/0.1639, allocations: 3.862 MB / 0.489 GB, free: 0.7461 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches