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.001086/0.001086, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 75.88 kB / 419 MB, free: 19.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.13, allocations: 62.45 MB / 481.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005205/0.1353, allocations: 3.01 MB / 484.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1368, allocations: 0.7712 MB / 485.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1369, allocations: 8 kB / 485.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.1372, allocations: 51.39 kB / 485.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1374, allocations: 99.11 kB / 485.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1377, allocations: 119.8 kB / 485.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.1381, allocations: 478.6 kB / 486 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.1384, allocations: 148 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.1387, allocations: 195.3 kB / 486.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.1389, allocations: 207.1 kB / 486.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.139, allocations: 40 kB / 486.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.051e-05/0.1391, allocations: 43.94 kB / 486.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.631e-05/0.1392, allocations: 95.66 kB / 486.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.1395, allocations: 203 kB / 486.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.14, allocations: 470.3 kB / 487.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.14, allocations: 0 / 487.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.14, allocations: 0 / 487.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.14, allocations: 3.938 kB / 487.4 MB, free: 14.65 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.00132/0.1413, allocations: 0.702 MB / 488.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1414, allocations: 17.11 kB / 488.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.1416, allocations: 52.45 kB / 488.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.142, allocations: 287.5 kB / 488.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.1421, allocations: 29.38 kB / 488.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.1422, allocations: 36.38 kB / 488.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.1428, allocations: 350.8 kB / 488.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1428, allocations: 0 / 488.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.1428, allocations: 16 kB / 488.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1429, allocations: 8 kB / 488.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.1435, allocations: 303.8 kB / 489.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.1458, allocations: 1.337 MB / 490.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.1463, allocations: 281.7 kB / 490.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.1466, allocations: 157.4 kB / 490.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.1467, allocations: 4.281 kB / 490.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1467, allocations: 34.84 kB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.1467, allocations: 0 / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007979/0.1475, allocations: 383.3 kB / 491.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1476, allocations: 63.28 kB / 491.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1478, allocations: 258.7 kB / 491.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1479, allocations: 33.7 kB / 491.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.148, allocations: 203.9 kB / 491.9 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.1481, allocations: 118.3 kB / 492 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.1482, allocations: 70.03 kB / 492.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1484, allocations: 350.8 kB / 492.4 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1486, allocations: 100.8 kB / 492.5 MB, free: 9.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.1489, allocations: 171.5 kB / 492.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.1494, allocations: 296.6 kB / 493 MB, free: 8.754 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1494, allocations: 0 / 493 MB, free: 8.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006432/0.1501, allocations: 358.3 kB / 493.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1501, allocations: 19.86 kB / 493.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1501, allocations: 0 / 493.3 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1501, allocations: 4 kB / 493.3 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.1506, allocations: 104.1 kB / 493.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1506, allocations: 4 kB / 493.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.1509, allocations: 47.45 kB / 493.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.151, allocations: 16 kB / 493.5 MB, free: 8.207 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.0001538/0.1511, allocations: 149.7 kB / 493.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.1512, allocations: 39.56 kB / 493.7 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.1518, allocations: 329 kB / 494 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1519, allocations: 4 kB / 494 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1519, allocations: 0 / 494 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1519, allocations: 0 / 494 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.1524, allocations: 409.1 kB / 494.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1524, allocations: 0 / 494.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.1528, allocations: 83.88 kB / 494.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1528, allocations: 0 / 494.5 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1528, allocations: 8 kB / 494.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1528, allocations: 4 kB / 494.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1528, allocations: 0 / 494.5 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.1536, allocations: 0.5143 MB / 495 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1538, allocations: 124.7 kB / 495.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.1538, allocations: 12 kB / 495.1 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1541, allocations: 12.05 kB / 495.2 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.1541, allocations: 27.97 kB / 495.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1542, allocations: 8 kB / 495.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1543, allocations: 190 kB / 495.4 MB, free: 6.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1543, allocations: 4 kB / 495.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.1547, allocations: 91.69 kB / 495.5 MB, free: 6.125 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.0001086/0.1548, allocations: 107.2 kB / 495.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.1554, allocations: 279.9 kB / 495.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1554, allocations: 0 / 495.8 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.1557, allocations: 140.3 kB / 496 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.156, allocations: 38.67 kB / 496 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1574, allocations: 0.7482 MB / 496.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1578, allocations: 0.7874 MB / 497.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.1579, allocations: 30.95 kB / 497.6 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.158, allocations: 35.36 kB / 497.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.158, allocations: 0 / 497.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of Templates: time 0.006199/0.1642, allocations: 2.638 MB / 0.4885 GB, free: 1.289 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 -s gbode -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