Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009972/0.0009971, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 58.97 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1153, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005061/0.1204, allocations: 2.996 MB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.122, allocations: 0.7245 MB / 474.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002761/0.1223, allocations: 7.938 kB / 474.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.1226, allocations: 59.38 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.123, allocations: 103.1 kB / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.1233, allocations: 111.8 kB / 474.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.124, allocations: 470.5 kB / 475.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.1243, allocations: 159.9 kB / 475.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.1247, allocations: 187.3 kB / 475.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.1251, allocations: 203.1 kB / 475.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1253, allocations: 43.94 kB / 475.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.1254, allocations: 40 kB / 475.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.1255, allocations: 87.67 kB / 475.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.1257, allocations: 207 kB / 476.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006024/0.1263, allocations: 470.3 kB / 476.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1263, allocations: 0 / 476.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1263, allocations: 0 / 476.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.1264, allocations: 0 / 476.5 MB, free: 7.797 MB / 350.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.001747/0.1281, allocations: 0.705 MB / 477.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1282, allocations: 8.031 kB / 477.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1283, allocations: 44.47 kB / 477.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.1288, allocations: 296.1 kB / 477.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.1288, allocations: 29.38 kB / 477.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.1289, allocations: 36.38 kB / 477.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.1297, allocations: 346.8 kB / 478 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1298, allocations: 0 / 478 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.1298, allocations: 16 kB / 478 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1298, allocations: 12 kB / 478 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006361/0.1305, allocations: 307.8 kB / 478.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.1329, allocations: 1.333 MB / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.1336, allocations: 274.8 kB / 479.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.1339, allocations: 161.4 kB / 480.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.1339, allocations: 4.281 kB / 480.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.134, allocations: 38.78 kB / 480.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.134, allocations: 0 / 480.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.000905/0.1349, allocations: 375.3 kB / 480.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1349, allocations: 63.34 kB / 480.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.1352, allocations: 258.7 kB / 480.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.1353, allocations: 33.7 kB / 480.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1354, allocations: 207.9 kB / 481 MB, free: 3.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.1355, allocations: 122.2 kB / 481.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1357, allocations: 70.03 kB / 481.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1358, allocations: 338.8 kB / 481.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1361, allocations: 104.8 kB / 481.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.1364, allocations: 175.4 kB / 481.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.1369, allocations: 284.7 kB / 482.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1369, allocations: 0 / 482.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006797/0.1376, allocations: 370.2 kB / 482.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1376, allocations: 8 kB / 482.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1376, allocations: 0 / 482.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1376, allocations: 4 kB / 482.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.1381, allocations: 107.9 kB / 482.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1382, allocations: 7.938 kB / 482.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.1384, allocations: 51.73 kB / 482.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.1385, allocations: 12 kB / 482.7 MB, free: 1.371 MB / 350.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.0001517/0.1386, allocations: 149.7 kB / 482.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.1387, allocations: 31.62 kB / 482.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.1394, allocations: 320.3 kB / 483.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.1394, allocations: 4 kB / 483.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1394, allocations: 7.938 kB / 483.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1394, allocations: 3.984 kB / 483.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.1398, allocations: 409.1 kB / 483.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1399, allocations: 3.984 kB / 483.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.1403, allocations: 83.88 kB / 483.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1403, allocations: 0 / 483.6 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.1403, allocations: 8 kB / 483.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1403, allocations: 0 / 483.7 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1403, allocations: 3.984 kB / 483.7 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.1412, allocations: 0.5257 MB / 484.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1413, allocations: 124.7 kB / 484.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.1414, allocations: 8 kB / 484.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1416, allocations: 11.98 kB / 484.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.1417, allocations: 19.97 kB / 484.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1417, allocations: 8 kB / 484.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1419, allocations: 198 kB / 484.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1419, allocations: 0 / 484.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1423, allocations: 91.75 kB / 484.6 MB, free: 15.29 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.0001268/0.1424, allocations: 103.2 kB / 484.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.143, allocations: 280.1 kB / 485 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.143, allocations: 4.125 kB / 485 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.1433, allocations: 131.9 kB / 485.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1436, allocations: 40.38 kB / 485.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.145, allocations: 0.7399 MB / 485.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1454, allocations: 0.7835 MB / 486.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.1456, allocations: 46.92 kB / 486.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.1457, allocations: 27.44 kB / 486.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1457, allocations: 0 / 486.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.006623/0.1523, allocations: 2.634 MB / 489.4 MB, free: 10.47 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches