Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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) 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001912/0.001912, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.159/2.159, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002093, allocations: 49.02 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1624, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01502/0.1775, allocations: 6.402 MB / 356.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006527/0.1841, allocations: 2.185 MB / 358.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.1855, allocations: 19.94 kB / 358.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.1871, allocations: 357.8 kB / 359.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.1897, allocations: 480.9 kB / 359.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.1917, allocations: 451.2 kB / 360 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003152/0.1948, allocations: 1.534 MB / 361.6 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.1963, allocations: 0.517 MB / 362.1 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.1976, allocations: 0.5723 MB / 362.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.1991, allocations: 0.6615 MB / 363.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005109/0.1996, allocations: 163.9 kB / 363.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000735/0.2004, allocations: 192 kB / 363.7 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005334/0.2009, allocations: 319 kB / 364 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.2024, allocations: 0.6727 MB / 364.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.2055, allocations: 1.912 MB / 366.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2055, allocations: 0 / 366.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2055, allocations: 0 / 366.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.329e-05/0.2056, allocations: 0 / 366.6 MB, free: 3.836 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.005916/0.2115, allocations: 1.538 MB / 368.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.2116, allocations: 12.03 kB / 368.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003743/0.212, allocations: 148.2 kB / 368.3 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.2124, allocations: 127.4 kB / 368.4 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.2146, allocations: 0.7045 MB / 369.1 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.2148, allocations: 78.31 kB / 369.2 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/0.2151, allocations: 103.9 kB / 369.3 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/0.2186, allocations: 1.009 MB / 370.3 MB, free: 4 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.914e-05/0.2187, allocations: 4 kB / 370.3 MB, free: 0 / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3034/0.5221, allocations: 34.95 kB / 370.3 MB, free: 25.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.055e-05/0.5222, allocations: 22.56 kB / 370.3 MB, free: 25.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004273/0.5265, allocations: 0.8879 MB / 371.2 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009124/0.5357, allocations: 3.649 MB / 374.9 MB, free: 23.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005045/0.5408, allocations: 0.9032 MB / 375.8 MB, free: 22.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.5422, allocations: 372.2 kB / 376.1 MB, free: 22.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.5423, allocations: 7.812 kB / 376.1 MB, free: 22.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.5424, allocations: 41.47 kB / 376.2 MB, free: 22.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 4.738e-06/0.5424, allocations: 0 / 376.2 MB, free: 22.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.00926/0.5516, allocations: 1.782 MB / 378 MB, free: 21.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.5518, allocations: 84.81 kB / 378.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.5548, allocations: 0.9788 MB / 379 MB, free: 21.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.5549, allocations: 37.08 kB / 379.1 MB, free: 21.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006175/0.5555, allocations: 0.5307 MB / 379.6 MB, free: 20.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.5558, allocations: 225.1 kB / 379.8 MB, free: 20.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005204/0.5564, allocations: 158.2 kB / 380 MB, free: 20.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5565, allocations: 340.4 kB / 380.3 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.5582, allocations: 342.4 kB / 380.6 MB, free: 20.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.5601, allocations: 0.5214 MB / 381.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/0.5636, allocations: 0.8252 MB / 382 MB, free: 19.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/0.5636, allocations: 5.062 kB / 382 MB, free: 19.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004906/0.5685, allocations: 1.022 MB / 383 MB, free: 19.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.824e-05/0.5686, allocations: 7.844 kB / 383 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.5687, allocations: 5.906 kB / 383 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.246e-05/0.5687, allocations: 13.66 kB / 383 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/0.571, allocations: 283.8 kB / 383.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.457e-05/0.5711, allocations: 11.62 kB / 383.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/0.573, allocations: 69.02 kB / 383.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.5732, allocations: 33.95 kB / 383.4 MB, free: 19.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0008902/0.5741, allocations: 291.3 kB / 383.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004829/0.5746, allocations: 97.31 kB / 383.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.5765, allocations: 384.8 kB / 384.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.5765, allocations: 10.84 kB / 384.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.5765, allocations: 2.547 kB / 384.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.5766, allocations: 3.766 kB / 384.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.5842, allocations: 2.304 MB / 386.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/0.5843, allocations: 7.625 kB / 386.5 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.586, allocations: 222 kB / 386.7 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.564e-05/0.586, allocations: 8.75 kB / 386.7 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.5861, allocations: 19.72 kB / 386.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.834e-05/0.5862, allocations: 13.61 kB / 386.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.207e-05/0.5862, allocations: 12.19 kB / 386.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00335/0.5896, allocations: 1.028 MB / 387.8 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/0.5902, allocations: 186.2 kB / 388 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/0.5906, allocations: 26.45 kB / 388 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.592, allocations: 46.7 kB / 388.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.5922, allocations: 68.19 kB / 388.1 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/0.5923, allocations: 24.41 kB / 388.2 MB, free: 16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001688/0.594, allocations: 0.6839 MB / 388.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5941, allocations: 0 / 388.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00186/0.5959, allocations: 208.8 kB / 389 MB, free: 15.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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.00449/0.6004, allocations: 1.865 MB / 390.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003461/0.6039, allocations: 0.7804 MB / 391.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.604, allocations: 1.469 kB / 391.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.6054, allocations: 377.1 kB / 392.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.608, allocations: 205.9 kB / 392.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/0.6309, allocations: 8.997 MB / 401.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/0.6318, allocations: 1.018 MB / 402.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0012/0.6331, allocations: 127.2 kB / 402.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007766/0.6339, allocations: 383.3 kB / 402.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6339, allocations: 0 / 402.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07242/0.7063, allocations: 19.63 MB / 422.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.86, allocations: 11.34 kB / 422.4 MB, free: 0.5703 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0024 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches