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.001039/0.001039, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00115/0.00115, allocations: 194 kB / 18.12 MB, free: 5.363 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.356/1.356, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2303/0.2303, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 60.31 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1792, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004655/0.1839, allocations: 3.033 MB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1852, allocations: 0.7206 MB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1854, allocations: 11.94 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1856, allocations: 47.62 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001803/0.1858, allocations: 79.36 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1861, allocations: 99.84 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000417/0.1865, allocations: 450.5 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.1867, allocations: 140.8 kB / 473.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.187, allocations: 163.4 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1872, allocations: 199.1 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.1873, allocations: 28 kB / 473.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.1873, allocations: 27.94 kB / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.475e-05/0.1874, allocations: 79.72 kB / 473.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.1876, allocations: 183 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.188, allocations: 450.3 kB / 474.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.188, allocations: 4 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.188, allocations: 0 / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.188, allocations: 0 / 474.2 MB, free: 9.129 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.001439/0.1895, allocations: 0.6981 MB / 474.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1895, allocations: 23.89 kB / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.1896, allocations: 48.47 kB / 475 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.19, allocations: 275.6 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.19, allocations: 29.38 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.23e-05/0.1901, allocations: 36.38 kB / 475.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.1907, allocations: 346.8 kB / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1908, allocations: 0 / 475.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.1908, allocations: 16 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1908, allocations: 12 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.1915, allocations: 311.8 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.1937, allocations: 1.333 MB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.1942, allocations: 288.8 kB / 477.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.1945, allocations: 161.3 kB / 477.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1946, allocations: 8.266 kB / 477.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.1946, allocations: 42.78 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.1946, allocations: 3.938 kB / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008613/0.1955, allocations: 367.4 kB / 478.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1955, allocations: 59.34 kB / 478.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.1958, allocations: 266.7 kB / 478.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.1959, allocations: 33.64 kB / 478.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.196, allocations: 207.9 kB / 478.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.1961, allocations: 118.3 kB / 478.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.1962, allocations: 70.03 kB / 478.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1964, allocations: 338.8 kB / 479.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.1966, allocations: 104.8 kB / 479.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.1969, allocations: 171.5 kB / 479.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.1975, allocations: 296.6 kB / 479.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1975, allocations: 0 / 479.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006498/0.1981, allocations: 366.1 kB / 480.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1982, allocations: 4 kB / 480.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1982, allocations: 4 kB / 480.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1982, allocations: 4 kB / 480.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.1987, allocations: 95.81 kB / 480.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.1987, allocations: 7.984 kB / 480.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.199, allocations: 47.53 kB / 480.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.199, allocations: 20.11 kB / 480.3 MB, free: 2.68 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.0001658/0.1992, allocations: 153.7 kB / 480.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.1993, allocations: 27.62 kB / 480.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.1999, allocations: 324.3 kB / 480.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1999, allocations: 4 kB / 480.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2, allocations: 0 / 480.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2, allocations: 3.984 kB / 480.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.2004, allocations: 405.1 kB / 481.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2004, allocations: 0 / 481.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.2009, allocations: 87.81 kB / 481.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2009, allocations: 4 kB / 481.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.2009, allocations: 4 kB / 481.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2009, allocations: 4 kB / 481.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2009, allocations: 0 / 481.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000908/0.2018, allocations: 0.5226 MB / 481.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.202, allocations: 132.7 kB / 482 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.202, allocations: 4 kB / 482 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.2023, allocations: 12 kB / 482 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.763e-05/0.2023, allocations: 19.97 kB / 482 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2024, allocations: 11.98 kB / 482 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.2026, allocations: 186 kB / 482.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2026, allocations: 8 kB / 482.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.2029, allocations: 99.73 kB / 482.3 MB, free: 0.6016 MB / 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.000129/0.2031, allocations: 99.72 kB / 482.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.2038, allocations: 271.9 kB / 482.7 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2038, allocations: 448 / 482.7 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.204, allocations: 139.8 kB / 482.8 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.2045, allocations: 36.42 kB / 482.8 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.206, allocations: 0.9039 MB / 483.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.2064, allocations: 0.7835 MB / 484.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.2066, allocations: 38.95 kB / 484.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.2067, allocations: 27.42 kB / 484.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2067, allocations: 0 / 484.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Templates: time 0.006071/0.2128, allocations: 2.476 MB / 487.1 MB, free: 11.8 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/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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches