Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_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.001438/0.001438, allocations: 104 kB / 17.58 MB, free: 5.438 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.001683/0.001683, allocations: 187.9 kB / 18.51 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 52.16 kB / 280.8 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07621/0.07747, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007528/0.08503, allocations: 6.33 MB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.08858, allocations: 2.144 MB / 335.9 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.08941, allocations: 19.94 kB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009871/0.09044, allocations: 357.8 kB / 336.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.09172, allocations: 476.7 kB / 336.7 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.09255, allocations: 427.4 kB / 337.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.0939, allocations: 1.534 MB / 338.6 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.09453, allocations: 0.5169 MB / 339.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.09504, allocations: 0.5685 MB / 339.7 MB, free: 7.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006282/0.09567, allocations: 0.6653 MB / 340.4 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.09586, allocations: 164 kB / 340.6 MB, free: 7.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.09613, allocations: 180 kB / 340.7 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.0964, allocations: 334.9 kB / 341.1 MB, free: 6.625 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005215/0.09692, allocations: 0.6572 MB / 341.7 MB, free: 5.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.09837, allocations: 1.92 MB / 343.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09838, allocations: 0 / 343.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09839, allocations: 0 / 343.6 MB, free: 4.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.09841, allocations: 0 / 343.6 MB, free: 4.039 MB / 286.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.002784/0.1012, allocations: 1.539 MB / 345.2 MB, free: 2.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1012, allocations: 8.031 kB / 345.2 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.1014, allocations: 152.1 kB / 345.3 MB, free: 2.281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1016, allocations: 135.3 kB / 345.5 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009845/0.1026, allocations: 0.7045 MB / 346.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.1027, allocations: 78.31 kB / 346.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1029, allocations: 92 kB / 346.3 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.1046, allocations: 1.013 MB / 347.3 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.1047, allocations: 7.891 kB / 347.4 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.1048, allocations: 40 kB / 347.4 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.1048, allocations: 24 kB / 347.4 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.1067, allocations: 0.8874 MB / 348.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004842/0.1116, allocations: 3.652 MB / 352 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.1145, allocations: 0.9026 MB / 352.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.1153, allocations: 365.5 kB / 353.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.1154, allocations: 11.98 kB / 353.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1154, allocations: 43.09 kB / 353.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.054e-06/0.1154, allocations: 0 / 353.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004594/0.12, allocations: 1.784 MB / 355.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1201, allocations: 85.11 kB / 355.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.1212, allocations: 0.9818 MB / 356.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.1213, allocations: 37.7 kB / 356.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.1216, allocations: 0.5221 MB / 356.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.1218, allocations: 232.7 kB / 356.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.122, allocations: 158.5 kB / 357.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1221, allocations: 341.9 kB / 357.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009129/0.1231, allocations: 337.8 kB / 357.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.1241, allocations: 0.53 MB / 358.3 MB, free: 4.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.1259, allocations: 0.8366 MB / 359.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1259, allocations: 4 kB / 359.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002239/0.1281, allocations: 1.021 MB / 360.1 MB, free: 3.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1282, allocations: 8 kB / 360.1 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1282, allocations: 4 kB / 360.1 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1282, allocations: 12 kB / 360.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.1294, allocations: 283.6 kB / 360.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.1294, allocations: 15.92 kB / 360.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.1302, allocations: 67.94 kB / 360.5 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.1302, allocations: 31.98 kB / 360.5 MB, free: 2.59 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.0003469/0.1306, allocations: 282.7 kB / 360.8 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.1307, allocations: 106.8 kB / 360.9 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009428/0.1317, allocations: 386.1 kB / 361.3 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1317, allocations: 15.94 kB / 361.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1317, allocations: 0 / 361.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1317, allocations: 3.984 kB / 361.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.1354, allocations: 2.289 MB / 363.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.1354, allocations: 8.844 kB / 363.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.1362, allocations: 207.7 kB / 363.8 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.1363, allocations: 12 kB / 363.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.1363, allocations: 23.98 kB / 363.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.1363, allocations: 15.88 kB / 363.9 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/0.1363, allocations: 15.92 kB / 363.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.138, allocations: 1.022 MB / 364.9 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.1382, allocations: 191.8 kB / 365.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.1384, allocations: 20 kB / 365.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.139, allocations: 55.88 kB / 365.2 MB, free: 13.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1391, allocations: 63.81 kB / 365.2 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.1392, allocations: 28 kB / 365.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008147/0.14, allocations: 0.6825 MB / 365.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.14, allocations: 0 / 365.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007802/0.1408, allocations: 212 kB / 366.1 MB, free: 12.7 MB / 318.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.002596/0.1434, allocations: 1.851 MB / 368 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.1453, allocations: 0.788 MB / 368.8 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.1453, allocations: 4 kB / 368.8 MB, free: 9.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.1461, allocations: 373.8 kB / 369.1 MB, free: 9.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.1473, allocations: 199.6 kB / 369.3 MB, free: 9.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/0.2782, allocations: 8.992 MB / 378.3 MB, free: 53.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.2786, allocations: 1.015 MB / 379.3 MB, free: 52.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006271/0.2793, allocations: 127.8 kB / 379.5 MB, free: 52.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.2797, allocations: 383.7 kB / 379.8 MB, free: 52.45 MB / 318.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2797, allocations: 1.375 kB / 379.8 MB, free: 52.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5698/0.8495, allocations: 19.62 MB / 399.5 MB, free: 43.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.797, allocations: 24.14 kB / 399.5 MB, free: 43.47 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches