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.001133/0.001133, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001107/0.001107, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.365/1.365, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2134/0.2134, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 58.25 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1078, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004402/0.1122, allocations: 2.981 MB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1136, allocations: 0.7206 MB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1138, allocations: 15.94 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.114, allocations: 59.38 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1142, allocations: 99.11 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1145, allocations: 111.8 kB / 473.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.1149, allocations: 470.5 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.1152, allocations: 172.2 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1155, allocations: 183.4 kB / 474.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1157, allocations: 203.1 kB / 474.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.1158, allocations: 36 kB / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.1159, allocations: 40 kB / 475 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.116, allocations: 99.66 kB / 475.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.1161, allocations: 202.9 kB / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.1166, allocations: 462.3 kB / 475.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1166, allocations: 0 / 475.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1166, allocations: 0 / 475.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1166, allocations: 0 / 475.7 MB, free: 8.512 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.001387/0.118, allocations: 0.7019 MB / 476.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.118, allocations: 12.03 kB / 476.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.136e-05/0.1181, allocations: 40.47 kB / 476.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.1185, allocations: 283.5 kB / 476.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.1185, allocations: 29.38 kB / 476.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.1186, allocations: 40.31 kB / 476.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.1192, allocations: 354.7 kB / 477.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1192, allocations: 0 / 477.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1193, allocations: 16 kB / 477.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1193, allocations: 8 kB / 477.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/0.1199, allocations: 303.8 kB / 477.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.1222, allocations: 1.349 MB / 478.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.1227, allocations: 278.8 kB / 479.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.123, allocations: 157.4 kB / 479.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.123, allocations: 4.281 kB / 479.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1231, allocations: 38.83 kB / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/0.1231, allocations: 0 / 479.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008383/0.1239, allocations: 379.2 kB / 479.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.124, allocations: 63.34 kB / 479.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.1242, allocations: 258.7 kB / 480 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.1243, allocations: 33.64 kB / 480 MB, free: 3.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1244, allocations: 207.9 kB / 480.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.1245, allocations: 114.3 kB / 480.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1246, allocations: 78.02 kB / 480.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1247, allocations: 338.8 kB / 480.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.125, allocations: 104.8 kB / 480.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1253, allocations: 175.5 kB / 481 MB, free: 2.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.1258, allocations: 288.6 kB / 481.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1258, allocations: 0 / 481.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006684/0.1264, allocations: 369.9 kB / 481.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1265, allocations: 10.97 kB / 481.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1265, allocations: 0 / 481.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1265, allocations: 4 kB / 481.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.127, allocations: 99.88 kB / 481.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.127, allocations: 4 kB / 481.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1273, allocations: 43.52 kB / 481.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.1273, allocations: 20.17 kB / 481.9 MB, free: 2.082 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.0001628/0.1275, allocations: 153.7 kB / 482 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.1276, allocations: 35.62 kB / 482 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006293/0.1282, allocations: 316.4 kB / 482.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.1282, allocations: 4 kB / 482.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1282, allocations: 4 kB / 482.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1282, allocations: 7.984 kB / 482.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.1287, allocations: 405.1 kB / 482.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1287, allocations: 0 / 482.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.1291, allocations: 83.88 kB / 482.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1291, allocations: 0 / 482.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1292, allocations: 8 kB / 482.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1292, allocations: 3.938 kB / 482.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1292, allocations: 0 / 482.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/0.13, allocations: 0.5265 MB / 483.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1302, allocations: 124.7 kB / 483.5 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.1302, allocations: 11.98 kB / 483.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.1305, allocations: 11.94 kB / 483.5 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.1305, allocations: 19.97 kB / 483.5 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1306, allocations: 15.98 kB / 483.6 MB, free: 280 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1307, allocations: 186 kB / 483.7 MB, free: 96 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1307, allocations: 4.062 kB / 483.7 MB, free: 92 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.1311, allocations: 91.75 kB / 483.8 MB, free: 0 / 350.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.0001258/0.1312, allocations: 103.2 kB / 483.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006717/0.1319, allocations: 291.9 kB / 484.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1319, allocations: 448 / 484.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.1322, allocations: 139.8 kB / 484.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1326, allocations: 36.42 kB / 484.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.134, allocations: 0.7807 MB / 485.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1344, allocations: 0.7835 MB / 486 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.1345, allocations: 31.42 kB / 486 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1345, allocations: 4 kB / 486 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Templates: time 0.006568/0.1411, allocations: 3.871 MB / 489.9 MB, free: 9.91 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 -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