Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 199.7 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007075/0.0007075, allocations: 87.58 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002003/0.0002004, allocations: 8 kB / 360.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1855, allocations: 51.41 MB / 412.1 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003528/0.189, allocations: 4.008 MB / 416.1 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1915, allocations: 2.327 MB / 418.4 MB, free: 19.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003094/0.1918, allocations: 8 kB / 418.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.1924, allocations: 398.7 kB / 418.8 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006212/0.1931, allocations: 418.1 kB / 419.2 MB, free: 18.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.1936, allocations: 291.6 kB / 419.5 MB, free: 18.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006754/0.1943, allocations: 0.9618 MB / 420.4 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003101/0.1946, allocations: 259.4 kB / 420.7 MB, free: 17.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.1948, allocations: 326.7 kB / 421 MB, free: 16.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.1952, allocations: 458.2 kB / 421.5 MB, free: 16.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.678e-05/0.1953, allocations: 40 kB / 421.5 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1954, allocations: 75.91 kB / 421.6 MB, free: 16.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1956, allocations: 175.3 kB / 421.7 MB, free: 16.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.1958, allocations: 411.3 kB / 422.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.1965, allocations: 1.204 MB / 423.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1965, allocations: 0 / 423.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1965, allocations: 0 / 423.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1965, allocations: 4 kB / 423.4 MB, free: 14.43 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00159/0.1981, allocations: 1.079 MB / 424.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1981, allocations: 12.03 kB / 424.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.1985, allocations: 123.8 kB / 424.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.1992, allocations: 0.5512 MB / 425.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.056e-05/0.1993, allocations: 57.8 kB / 425.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.1993, allocations: 59.94 kB / 425.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2004, allocations: 0.6597 MB / 425.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2004, allocations: 7.938 kB / 425.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.2004, allocations: 24 kB / 425.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.2005, allocations: 20 kB / 425.9 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2016, allocations: 0.579 MB / 426.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.2044, allocations: 2.571 MB / 429.1 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.2052, allocations: 495.2 kB / 429.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.2057, allocations: 306 kB / 429.9 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.2058, allocations: 8.438 kB / 429.9 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.2058, allocations: 42.94 kB / 429.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.683e-06/0.2058, allocations: 0 / 429.9 MB, free: 7.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003825/0.2097, allocations: 1.656 MB / 431.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2097, allocations: 63.95 kB / 431.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/0.2105, allocations: 0.9496 MB / 432.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.2106, allocations: 37.7 kB / 432.6 MB, free: 4.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.2107, allocations: 404 kB / 433 MB, free: 4.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.132e-05/0.2108, allocations: 205 kB / 433.2 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.2109, allocations: 16 kB / 433.2 MB, free: 4.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.2109, allocations: 334 kB / 433.6 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.2115, allocations: 261.9 kB / 433.8 MB, free: 3.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.212, allocations: 367 kB / 434.2 MB, free: 3.246 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2131, allocations: 0.6026 MB / 434.8 MB, free: 2.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2131, allocations: 4 kB / 434.8 MB, free: 2.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001304/0.2144, allocations: 0.7658 MB / 435.6 MB, free: 1.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2144, allocations: 8 kB / 435.6 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2144, allocations: 4 kB / 435.6 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2145, allocations: 4 kB / 435.6 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.2152, allocations: 183.8 kB / 435.8 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2152, allocations: 15.94 kB / 435.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/0.2157, allocations: 51.95 kB / 435.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.2157, allocations: 24 kB / 435.8 MB, free: 1.551 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002444/0.216, allocations: 269.6 kB / 436.1 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.2161, allocations: 83 kB / 436.2 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.2173, allocations: 0.6671 MB / 436.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.2173, allocations: 8 kB / 436.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2173, allocations: 0 / 436.9 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2174, allocations: 7.922 kB / 436.9 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/0.2201, allocations: 1.864 MB / 438.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2201, allocations: 8 kB / 438.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005685/0.2207, allocations: 135.8 kB / 438.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.2207, allocations: 4 kB / 438.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.2207, allocations: 19.98 kB / 438.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.2207, allocations: 7.938 kB / 438.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2207, allocations: 8.031 kB / 438.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.222, allocations: 0.777 MB / 439.7 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.2222, allocations: 204.1 kB / 439.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.2223, allocations: 16 kB / 439.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.2228, allocations: 55.89 kB / 440 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-05/0.2229, allocations: 44.33 kB / 440 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.2229, allocations: 19.98 kB / 440 MB, free: 13.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007361/0.2237, allocations: 0.6942 MB / 440.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2237, allocations: 0 / 440.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000497/0.2242, allocations: 152 kB / 440.9 MB, free: 12.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0007506/0.2249, allocations: 415.2 kB / 441.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.2262, allocations: 0.6162 MB / 441.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2263, allocations: 448 / 441.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.2269, allocations: 314.8 kB / 442.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/0.2278, allocations: 118.9 kB / 442.3 MB, free: 10.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2302, allocations: 1.961 MB / 444.3 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.2307, allocations: 0.9672 MB / 445.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.2311, allocations: 97.09 kB / 445.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2313, allocations: 51.42 kB / 445.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2313, allocations: 0 / 445.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of Templates: time 0.0124/0.2437, allocations: 7.138 MB / 452.5 MB, free: 0.7148 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches