Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000952/0.000952, allocations: 201.1 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.5 MB / 244.7 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007562/0.0007561, allocations: 94.34 kB / 296.7 MB, free: 6.715 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002128/0.0002128, allocations: 8 kB / 356.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1827, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003326/0.186, allocations: 4.001 MB / 412.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1882, allocations: 1.845 MB / 414 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.1885, allocations: 11.94 kB / 414 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.189, allocations: 399.2 kB / 414.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.1896, allocations: 408.8 kB / 414.8 MB, free: 21.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.1901, allocations: 207.7 kB / 415 MB, free: 20.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007209/0.1909, allocations: 0.9071 MB / 415.9 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.1912, allocations: 259.4 kB / 416.1 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1915, allocations: 326.8 kB / 416.5 MB, free: 19.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.1918, allocations: 426.4 kB / 416.9 MB, free: 18.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.1919, allocations: 40 kB / 416.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.1921, allocations: 64 kB / 417 MB, free: 18.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1922, allocations: 171.3 kB / 417.1 MB, free: 18.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.1924, allocations: 391.7 kB / 417.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.193, allocations: 1.01 MB / 418.5 MB, free: 17.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.193, allocations: 0 / 418.5 MB, free: 17.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.193, allocations: 4 kB / 418.5 MB, free: 17.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.193, allocations: 0 / 418.5 MB, free: 17.26 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.001591/0.1946, allocations: 1.085 MB / 419.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1947, allocations: 8.031 kB / 419.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.306e-05/0.1948, allocations: 102.7 kB / 419.7 MB, free: 16.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004128/0.1952, allocations: 123.8 kB / 419.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.1958, allocations: 0.5473 MB / 420.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.1959, allocations: 61.61 kB / 420.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.196, allocations: 60 kB / 420.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.197, allocations: 0.6635 MB / 421.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1971, allocations: 4 kB / 421.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.1971, allocations: 31.94 kB / 421.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1972, allocations: 12 kB / 421.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.1983, allocations: 0.5868 MB / 421.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.2011, allocations: 2.575 MB / 424.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.2018, allocations: 483.5 kB / 424.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/0.2024, allocations: 312.8 kB / 425.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/0.2025, allocations: 12.42 kB / 425.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.2025, allocations: 39 kB / 425.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.064e-06/0.2025, allocations: 0 / 425.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003978/0.2065, allocations: 1.645 MB / 426.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2065, allocations: 55.97 kB / 426.9 MB, free: 8.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.2074, allocations: 0.9536 MB / 427.9 MB, free: 7.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.2075, allocations: 41.7 kB / 427.9 MB, free: 7.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.2076, allocations: 412 kB / 428.3 MB, free: 7.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.2077, allocations: 205 kB / 428.5 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.2078, allocations: 15.94 kB / 428.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.2078, allocations: 333.9 kB / 428.9 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.2084, allocations: 261.9 kB / 429.1 MB, free: 6.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.2089, allocations: 367 kB / 429.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.21, allocations: 0.6026 MB / 430.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.21, allocations: 3.938 kB / 430.1 MB, free: 5.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001335/0.2113, allocations: 0.7697 MB / 430.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2114, allocations: 8 kB / 430.9 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2114, allocations: 0 / 430.9 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2114, allocations: 8 kB / 430.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.2121, allocations: 183.8 kB / 431 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2121, allocations: 7.984 kB / 431.1 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.2126, allocations: 59.88 kB / 431.1 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.2127, allocations: 23.98 kB / 431.1 MB, free: 4.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.213, allocations: 268.4 kB / 431.4 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.2131, allocations: 83 kB / 431.5 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2143, allocations: 0.671 MB / 432.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2144, allocations: 8 kB / 432.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2144, allocations: 0 / 432.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2144, allocations: 0 / 432.2 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.2168, allocations: 1.859 MB / 434 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2168, allocations: 0 / 434 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.2173, allocations: 144.2 kB / 434.2 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2173, allocations: 7.938 kB / 434.2 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.2174, allocations: 12 kB / 434.2 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.2174, allocations: 11.98 kB / 434.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2174, allocations: 0 / 434.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.2185, allocations: 0.781 MB / 435 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.2188, allocations: 208 kB / 435.2 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/0.2189, allocations: 12 kB / 435.2 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.2194, allocations: 51.97 kB / 435.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2195, allocations: 52.23 kB / 435.3 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.2195, allocations: 16 kB / 435.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007471/0.2203, allocations: 0.6982 MB / 436 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2203, allocations: 3.938 kB / 436 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005143/0.2208, allocations: 156 kB / 436.2 MB, free: 15.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.223, allocations: 1.578 MB / 437.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.2243, allocations: 0.6084 MB / 438.3 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2244, allocations: 0 / 438.3 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.225, allocations: 315.2 kB / 438.7 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.2259, allocations: 130.2 kB / 438.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/0.2333, allocations: 4.961 MB / 443.7 MB, free: 7.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.2338, allocations: 0.9633 MB / 444.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.2342, allocations: 303.3 kB / 445 MB, free: 6.055 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2343, allocations: 3.938 kB / 445 MB, free: 6.051 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.227/3.462, allocations: 12.32 MB / 457.3 MB, free: 9.719 MB / 330.7 MB (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --timeout=50 --tolerance=1e-07 Modelica_trunk_cpp_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches