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.001026/0.001026, allocations: 113.8 kB / 17.28 MB, free: 6.219 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.00104/0.00104, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.944/1.944, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.00127/0.00127, allocations: 48.16 kB / 280.3 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1436, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008924/0.1525, allocations: 6.314 MB / 333.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.1573, allocations: 2.12 MB / 335.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.1579, allocations: 19.94 kB / 335.3 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009885/0.1589, allocations: 298.6 kB / 335.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1601, allocations: 433.4 kB / 336.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.161, allocations: 391.6 kB / 336.4 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.1628, allocations: 1.53 MB / 338 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007926/0.1636, allocations: 0.5131 MB / 338.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.1644, allocations: 0.5684 MB / 339 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008174/0.1653, allocations: 0.6653 MB / 339.7 MB, free: 7.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.1655, allocations: 160 kB / 339.9 MB, free: 7.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.1658, allocations: 192 kB / 340.1 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.1661, allocations: 327 kB / 340.4 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.1668, allocations: 0.6687 MB / 341 MB, free: 6.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.1689, allocations: 1.912 MB / 343 MB, free: 4.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.1689, allocations: 0 / 343 MB, free: 4.535 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1689, allocations: 0 / 343 MB, free: 4.535 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.1689, allocations: 0 / 343 MB, free: 4.535 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.003411/0.1724, allocations: 1.542 MB / 344.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.1724, allocations: 8.031 kB / 344.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000381/0.1728, allocations: 152.2 kB / 344.7 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.173, allocations: 131.3 kB / 344.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.1744, allocations: 0.6967 MB / 345.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.1745, allocations: 86.3 kB / 345.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1747, allocations: 92 kB / 345.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.1769, allocations: 1.013 MB / 346.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.177, allocations: 7.844 kB / 346.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.052e-05/0.1771, allocations: 40 kB / 346.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.1771, allocations: 24 kB / 346.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.1792, allocations: 0.8836 MB / 347.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005679/0.1848, allocations: 3.664 MB / 351.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.1877, allocations: 0.8987 MB / 352.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007745/0.1885, allocations: 369.5 kB / 352.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.1886, allocations: 11.98 kB / 352.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.1887, allocations: 39.16 kB / 352.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.667e-06/0.1887, allocations: 0 / 352.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005091/0.1938, allocations: 1.78 MB / 354.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.1939, allocations: 93.05 kB / 354.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.1954, allocations: 0.9818 MB / 355.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/0.1955, allocations: 33.7 kB / 355.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.196, allocations: 0.5299 MB / 356 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.1962, allocations: 224.8 kB / 356.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.1965, allocations: 158.5 kB / 356.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1966, allocations: 333.9 kB / 356.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000837/0.1975, allocations: 345.8 kB / 357 MB, free: 6.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.1987, allocations: 0.5301 MB / 357.6 MB, free: 5.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.2006, allocations: 0.8365 MB / 358.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2006, allocations: 0 / 358.4 MB, free: 4.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002417/0.2031, allocations: 1.017 MB / 359.4 MB, free: 3.508 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.2031, allocations: 11.94 kB / 359.4 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.2031, allocations: 8.344 kB / 359.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/0.2032, allocations: 8 kB / 359.5 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.2044, allocations: 283.6 kB / 359.7 MB, free: 3.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.2045, allocations: 15.94 kB / 359.8 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.2053, allocations: 71.92 kB / 359.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.2054, allocations: 39.98 kB / 359.9 MB, free: 3.078 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.0005655/0.206, allocations: 282.7 kB / 360.1 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.2062, allocations: 102.8 kB / 360.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.2072, allocations: 386.2 kB / 360.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.2072, allocations: 8 kB / 360.6 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.2073, allocations: 3.938 kB / 360.6 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2073, allocations: 3.984 kB / 360.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/0.2115, allocations: 2.301 MB / 362.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.2115, allocations: 4 kB / 362.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008412/0.2124, allocations: 216.3 kB / 363.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.2124, allocations: 8 kB / 363.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.2125, allocations: 20 kB / 363.2 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.2125, allocations: 19.92 kB / 363.2 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.2125, allocations: 11.94 kB / 363.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.2143, allocations: 1.021 MB / 364.2 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.2146, allocations: 187.8 kB / 364.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.2148, allocations: 23.98 kB / 364.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.2154, allocations: 55.89 kB / 364.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.2155, allocations: 63.8 kB / 364.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.2156, allocations: 31.98 kB / 364.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.2166, allocations: 0.6786 MB / 365.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2166, allocations: 0 / 365.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008669/0.2175, allocations: 208 kB / 365.5 MB, free: 13.19 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.003206/0.2207, allocations: 1.847 MB / 367.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00206/0.2228, allocations: 0.7845 MB / 368.1 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.2228, allocations: 3.938 kB / 368.1 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.2236, allocations: 373.5 kB / 368.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.2248, allocations: 203.2 kB / 368.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1968/0.4216, allocations: 9.364 MB / 378 MB, free: 52.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/0.4225, allocations: 1.017 MB / 379 MB, free: 52.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007776/0.4233, allocations: 120.4 kB / 379.2 MB, free: 52.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.4238, allocations: 383.2 kB / 379.5 MB, free: 52.22 MB / 318.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4238, allocations: 0.625 kB / 379.5 MB, free: 52.22 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4994/0.9231, allocations: 19.37 MB / 398.9 MB, free: 43.88 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/0.9235, allocations: 275.2 kB / 399.2 MB, free: 43.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/3.738, allocations: 0 / 399.2 MB, free: 43.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 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.mat","/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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches