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.001839/0.001839, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002158/0.002158, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 67.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2862, allocations: 50.55 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006557/0.2928, allocations: 4.665 MB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.2966, allocations: 1.979 MB / 415.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.297, allocations: 12 kB / 415.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008261/0.2979, allocations: 426.2 kB / 415.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009806/0.2989, allocations: 461.5 kB / 416.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.2996, allocations: 326.8 kB / 416.7 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001179/0.3008, allocations: 1.04 MB / 417.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004636/0.3013, allocations: 306.5 kB / 418 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.3019, allocations: 422.7 kB / 418.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.3025, allocations: 0.5098 MB / 418.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.3026, allocations: 96 kB / 419 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.3029, allocations: 132 kB / 419.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.3031, allocations: 239.2 kB / 419.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.3035, allocations: 465.6 kB / 419.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3049, allocations: 1.307 MB / 421.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.305, allocations: 4 kB / 421.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.93e-06/0.305, allocations: 0 / 421.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.305, allocations: 3.938 kB / 421.2 MB, free: 5.051 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.002256/0.3072, allocations: 1.226 MB / 422.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3073, allocations: 12.03 kB / 422.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.3075, allocations: 102.7 kB / 422.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/0.308, allocations: 132.2 kB / 422.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009437/0.3089, allocations: 0.5832 MB / 423.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.309, allocations: 53.3 kB / 423.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.3091, allocations: 60 kB / 423.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3103, allocations: 0.6323 MB / 423.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3103, allocations: 0 / 423.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.3104, allocations: 27.98 kB / 424 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.3104, allocations: 16 kB / 424 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3116, allocations: 0.5205 MB / 424.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.3155, allocations: 2.545 MB / 427.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009662/0.3165, allocations: 476.4 kB / 427.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.3172, allocations: 277.4 kB / 427.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.3173, allocations: 12.44 kB / 427.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.3173, allocations: 42.94 kB / 427.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.214e-06/0.3173, allocations: 0 / 427.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004447/0.3218, allocations: 1.463 MB / 429.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3219, allocations: 63.91 kB / 429.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.3232, allocations: 0.9577 MB / 430.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.3233, allocations: 37.7 kB / 430.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.3236, allocations: 416.7 kB / 430.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.3238, allocations: 222.1 kB / 431 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.3241, allocations: 130.5 kB / 431.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3242, allocations: 334 kB / 431.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.3248, allocations: 221.9 kB / 431.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/0.3255, allocations: 335 kB / 432 MB, free: 9.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.3267, allocations: 0.5401 MB / 432.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3267, allocations: 11.94 kB / 432.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001466/0.3282, allocations: 0.6999 MB / 433.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3282, allocations: 12.03 kB / 433.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3282, allocations: 0 / 433.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.3282, allocations: 11.98 kB / 433.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/0.329, allocations: 163.8 kB / 433.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.329, allocations: 11.92 kB / 433.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.3295, allocations: 31.98 kB / 433.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.3296, allocations: 23.98 kB / 433.5 MB, free: 8.328 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.0004099/0.33, allocations: 285.5 kB / 433.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3301, allocations: 87.44 kB / 433.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3316, allocations: 0.6048 MB / 434.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.3316, allocations: 15.98 kB / 434.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3317, allocations: 4 kB / 434.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3317, allocations: 0 / 434.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.3347, allocations: 1.781 MB / 436.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3347, allocations: 8.062 kB / 436.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.3353, allocations: 123.9 kB / 436.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.3353, allocations: 7.938 kB / 436.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.3353, allocations: 19.98 kB / 436.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3354, allocations: 4 kB / 436.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3354, allocations: 0 / 436.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3367, allocations: 0.732 MB / 437.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.337, allocations: 212.5 kB / 437.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.3371, allocations: 15.94 kB / 437.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.3375, allocations: 31.97 kB / 437.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.3376, allocations: 52.27 kB / 437.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.3377, allocations: 20 kB / 437.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009311/0.3386, allocations: 0.6982 MB / 438.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3386, allocations: 0 / 438.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005839/0.3392, allocations: 155.9 kB / 438.3 MB, free: 3.281 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.002835/0.342, allocations: 1.525 MB / 439.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3434, allocations: 0.5576 MB / 440.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3434, allocations: 0 / 440.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005647/0.3439, allocations: 278.3 kB / 440.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.3447, allocations: 156.2 kB / 440.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.355, allocations: 6.535 MB / 447.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.3557, allocations: 0.9709 MB / 448.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.3562, allocations: 93.17 kB / 448.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.3567, allocations: 307.3 kB / 448.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3567, allocations: 3.938 kB / 448.7 MB, free: 8.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.4015, allocations: 16 MB / 464.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.618/10.02, allocations: 11.52 kB / 464.7 MB, free: 8.883 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.1.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