Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001432, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2935, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005776/0.2993, allocations: 4.662 MB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.3025, allocations: 1.971 MB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004638/0.303, allocations: 11.94 kB / 415.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.3039, allocations: 434.2 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009839/0.3049, allocations: 461.5 kB / 416.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.3057, allocations: 319.5 kB / 416.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3067, allocations: 1.036 MB / 417.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.3071, allocations: 316.2 kB / 417.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004719/0.3076, allocations: 426.7 kB / 418.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005459/0.3082, allocations: 0.5098 MB / 418.8 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.3083, allocations: 103.9 kB / 418.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.3085, allocations: 131.9 kB / 419.1 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.3087, allocations: 235.3 kB / 419.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.3091, allocations: 465.6 kB / 419.8 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3103, allocations: 1.308 MB / 421.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3103, allocations: 0 / 421.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3103, allocations: 0 / 421.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.3103, allocations: 0 / 421.1 MB, free: 5.164 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.001997/0.3123, allocations: 1.199 MB / 422.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3124, allocations: 12.03 kB / 422.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.3125, allocations: 102.7 kB / 422.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.313, allocations: 127.7 kB / 422.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008587/0.3138, allocations: 0.5711 MB / 423.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.3139, allocations: 49.25 kB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.943e-05/0.314, allocations: 63.91 kB / 423.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.315, allocations: 0.6323 MB / 423.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.315, allocations: 7.969 kB / 423.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.3151, allocations: 24 kB / 423.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.3151, allocations: 16 kB / 423.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009902/0.3161, allocations: 0.5204 MB / 424.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.3195, allocations: 2.532 MB / 426.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.3204, allocations: 480.3 kB / 427.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.321, allocations: 283.2 kB / 427.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.321, allocations: 12.42 kB / 427.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3211, allocations: 43 kB / 427.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.924e-06/0.3211, allocations: 0 / 427.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.003889/0.325, allocations: 1.438 MB / 429.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.325, allocations: 63.95 kB / 429.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3261, allocations: 0.9615 MB / 430.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.3261, allocations: 37.7 kB / 430.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.3264, allocations: 412 kB / 430.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3266, allocations: 212.9 kB / 430.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/0.3268, allocations: 122.6 kB / 430.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3269, allocations: 334 kB / 431.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/0.3274, allocations: 225.9 kB / 431.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005503/0.3279, allocations: 335 kB / 431.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.3289, allocations: 0.5479 MB / 432.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.329, allocations: 3.938 kB / 432.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001288/0.3303, allocations: 0.6992 MB / 433.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3303, allocations: 14.8 kB / 433.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3303, allocations: 3.938 kB / 433.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3303, allocations: 12.28 kB / 433.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.3311, allocations: 167.7 kB / 433.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3311, allocations: 4 kB / 433.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.3315, allocations: 31.98 kB / 433.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.3316, allocations: 23.98 kB / 433.3 MB, free: 8.512 MB / 350.1 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_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * 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.000331/0.3319, allocations: 285.5 kB / 433.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3321, allocations: 82.97 kB / 433.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.3333, allocations: 0.6204 MB / 434.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3333, allocations: 4 kB / 434.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3333, allocations: 0 / 434.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3333, allocations: 0 / 434.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.336, allocations: 1.788 MB / 436.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3361, allocations: 0 / 436.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.3366, allocations: 132.1 kB / 436.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.3366, allocations: 7.984 kB / 436.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.3367, allocations: 16 kB / 436.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.3367, allocations: 4 kB / 436.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3367, allocations: 4 kB / 436.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3379, allocations: 0.7237 MB / 437 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.3382, allocations: 208 kB / 437.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.3383, allocations: 16 kB / 437.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3387, allocations: 31.91 kB / 437.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.3389, allocations: 56.27 kB / 437.3 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.3389, allocations: 20 kB / 437.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007693/0.3397, allocations: 0.6982 MB / 438 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3397, allocations: 0 / 438 MB, free: 3.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005449/0.3402, allocations: 152 kB / 438.2 MB, free: 3.473 MB / 350.1 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 (63): * Single equations (assignments): 63 * 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.002135/0.3424, allocations: 1.528 MB / 439.7 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3435, allocations: 0.5502 MB / 440.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3435, allocations: 64 / 440.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.344, allocations: 282.3 kB / 440.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.3448, allocations: 147.3 kB / 440.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/0.3538, allocations: 6.497 MB / 447.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.3544, allocations: 0.967 MB / 448.1 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004164/0.3548, allocations: 101.2 kB / 448.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.3553, allocations: 307.3 kB / 448.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of SimCode: time 2.464e-06/0.3553, allocations: 0 / 448.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.3949, allocations: 16.2 MB / 464.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.365/9.76, allocations: 17.02 kB / 464.7 MB, free: 8.902 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches