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.001221/0.001221, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2739, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005722/0.2797, allocations: 4.661 MB / 413.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.283, allocations: 1.975 MB / 415.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000586/0.2837, allocations: 11.94 kB / 415.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008594/0.2845, allocations: 434.2 kB / 415.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.2859, allocations: 465.5 kB / 416.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.2867, allocations: 323.1 kB / 416.6 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.2882, allocations: 1.028 MB / 417.6 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005171/0.2888, allocations: 308.2 kB / 417.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006902/0.2895, allocations: 430.7 kB / 418.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.2902, allocations: 0.5176 MB / 418.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2904, allocations: 96 kB / 419 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.2908, allocations: 131.9 kB / 419.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.291, allocations: 235.3 kB / 419.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.2917, allocations: 469.5 kB / 419.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.2931, allocations: 1.304 MB / 421.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2931, allocations: 0 / 421.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2931, allocations: 0 / 421.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.2931, allocations: 0 / 421.1 MB, free: 5.156 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.002315/0.2954, allocations: 1.199 MB / 422.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2955, allocations: 12.03 kB / 422.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.2956, allocations: 102.7 kB / 422.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.2961, allocations: 127.7 kB / 422.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009421/0.297, allocations: 0.5672 MB / 423.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.2971, allocations: 53.25 kB / 423.1 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.2972, allocations: 59.91 kB / 423.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2983, allocations: 0.6362 MB / 423.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.2984, allocations: 4 kB / 423.8 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.2984, allocations: 24 kB / 423.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.2984, allocations: 16 kB / 423.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.2995, allocations: 0.5243 MB / 424.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.3031, allocations: 2.536 MB / 426.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.3039, allocations: 480.3 kB / 427.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006065/0.3046, allocations: 283.1 kB / 427.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.799e-05/0.3046, allocations: 12.44 kB / 427.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3047, allocations: 42.98 kB / 427.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.855e-06/0.3047, allocations: 4 kB / 427.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004183/0.3089, allocations: 1.442 MB / 429.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.3089, allocations: 55.97 kB / 429.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.31, allocations: 0.9654 MB / 430.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.3101, allocations: 37.7 kB / 430.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.3104, allocations: 408 kB / 430.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3105, allocations: 212.8 kB / 430.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.3107, allocations: 122.6 kB / 431 MB, free: 10.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3108, allocations: 334 kB / 431.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.3113, allocations: 225.9 kB / 431.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.3119, allocations: 327 kB / 431.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.313, allocations: 0.5479 MB / 432.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.313, allocations: 7.938 kB / 432.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001345/0.3143, allocations: 0.7031 MB / 433.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3144, allocations: 8 kB / 433.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3144, allocations: 0 / 433.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.3144, allocations: 8.281 kB / 433.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.3151, allocations: 171.7 kB / 433.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3152, allocations: 4 kB / 433.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.3157, allocations: 35.97 kB / 433.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.3157, allocations: 24 kB / 433.3 MB, free: 8.504 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.000345/0.3161, allocations: 281.5 kB / 433.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3162, allocations: 86.97 kB / 433.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.3175, allocations: 0.6126 MB / 434.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3175, allocations: 8 kB / 434.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3175, allocations: 0 / 434.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3176, allocations: 3.984 kB / 434.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.3203, allocations: 1.78 MB / 436.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3203, allocations: 4 kB / 436.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.3209, allocations: 136.1 kB / 436.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.3209, allocations: 4 kB / 436.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.3209, allocations: 12 kB / 436.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.321, allocations: 8 kB / 436.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.321, allocations: 3.938 kB / 436.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.3221, allocations: 0.7276 MB / 437 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.3224, allocations: 208 kB / 437.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.3225, allocations: 12 kB / 437.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.323, allocations: 35.91 kB / 437.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.3231, allocations: 52.27 kB / 437.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.3231, allocations: 23.98 kB / 437.3 MB, free: 4.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008246/0.3239, allocations: 0.6943 MB / 438 MB, free: 3.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.324, allocations: 0 / 438 MB, free: 3.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005624/0.3245, allocations: 156 kB / 438.2 MB, free: 3.465 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.002232/0.3268, allocations: 1.535 MB / 439.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.328, allocations: 0.5424 MB / 440.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.328, allocations: 64 / 440.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.3285, allocations: 278.3 kB / 440.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.3293, allocations: 139.7 kB / 440.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.3385, allocations: 6.506 MB / 447.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.3391, allocations: 0.9709 MB / 448.1 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.3395, allocations: 97.17 kB / 448.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.3399, allocations: 307.3 kB / 448.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of SimCode: time 1.823e-06/0.3399, allocations: 0 / 448.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.3795, allocations: 16.21 MB / 464.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.33/9.71, allocations: 11.8 kB / 464.7 MB, free: 8.898 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