Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 48.06 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1103, allocations: 53.33 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.2101/0.3204, allocations: 6.559 MB / 432.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003524/0.3239, allocations: 2.394 MB / 435.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.3246, allocations: 24.19 kB / 435.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.3254, allocations: 369.3 kB / 435.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.3266, allocations: 0.5406 MB / 436.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009795/0.3276, allocations: 446 kB / 436.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.3293, allocations: 1.566 MB / 438.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.3298, allocations: 364.3 kB / 438.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008888/0.3307, allocations: 0.6062 MB / 439.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008071/0.3315, allocations: 0.6873 MB / 439.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.3317, allocations: 161 kB / 440 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.3321, allocations: 193.2 kB / 440.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.3323, allocations: 328.6 kB / 440.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.3329, allocations: 0.6841 MB / 441.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.335, allocations: 1.974 MB / 443.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.335, allocations: 0.7031 kB / 443.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.335, allocations: 4 kB / 443.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.002e-05/0.3351, allocations: 3.938 kB / 443.2 MB, free: 3.645 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003241/0.3383, allocations: 1.579 MB / 444.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3384, allocations: 9.094 kB / 444.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.3385, allocations: 149 kB / 444.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.3391, allocations: 164.5 kB / 445.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.3402, allocations: 0.7451 MB / 445.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-05/0.3402, allocations: 78.55 kB / 445.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3404, allocations: 97.97 kB / 446 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.3421, allocations: 0.9862 MB / 447 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/0.3421, allocations: 1.766 kB / 447 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/0.3422, allocations: 36.88 kB / 447 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.3422, allocations: 23.19 kB / 447 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.3439, allocations: 0.814 MB / 447.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005755/0.3496, allocations: 3.666 MB / 451.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.3519, allocations: 0.5888 MB / 452.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.3525, allocations: 292 kB / 452.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.3526, allocations: 12.89 kB / 452.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.3526, allocations: 51.39 kB / 452.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.956e-06/0.3526, allocations: 0 / 452.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004821/0.3574, allocations: 1.675 MB / 454.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.3575, allocations: 89.05 kB / 454.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.359, allocations: 1.04 MB / 455.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.3591, allocations: 35.08 kB / 455.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.3596, allocations: 0.5653 MB / 455.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.3598, allocations: 239.1 kB / 456.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.3601, allocations: 165.1 kB / 456.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3603, allocations: 346.3 kB / 456.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007784/0.361, allocations: 307.5 kB / 456.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/0.362, allocations: 495.8 kB / 457.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.3637, allocations: 0.7771 MB / 458.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3637, allocations: 1.031 kB / 458.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002251/0.3659, allocations: 0.9745 MB / 459.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.3659, allocations: 7.938 kB / 459.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.366, allocations: 7.453 kB / 459.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.366, allocations: 14.25 kB / 459.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.3672, allocations: 275.1 kB / 459.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.107e-05/0.3672, allocations: 13.78 kB / 459.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009149/0.3681, allocations: 57.27 kB / 459.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.3682, allocations: 35.2 kB / 459.5 MB, free: 10.1 MB / 366.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 (112): * Single equations (assignments): 112 * 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.0005532/0.3688, allocations: 290.5 kB / 459.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.3689, allocations: 109.2 kB / 459.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008627/0.3698, allocations: 350.3 kB / 460.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.3698, allocations: 7.656 kB / 460.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.3698, allocations: 1.562 kB / 460.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.3699, allocations: 10.17 kB / 460.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.374, allocations: 2.295 MB / 462.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.374, allocations: 5.688 kB / 462.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/0.3749, allocations: 207.2 kB / 462.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/0.3749, allocations: 10 kB / 462.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.375, allocations: 27.88 kB / 462.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/0.375, allocations: 12.78 kB / 462.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/0.375, allocations: 15.48 kB / 462.8 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.3769, allocations: 1.03 MB / 463.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.3772, allocations: 194.7 kB / 464.1 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.3773, allocations: 23.67 kB / 464.1 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.378, allocations: 53.48 kB / 464.1 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3781, allocations: 62.66 kB / 464.2 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.3782, allocations: 28.72 kB / 464.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.3792, allocations: 0.7206 MB / 464.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3792, allocations: 0 / 464.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009259/0.3802, allocations: 215.5 kB / 465.2 MB, free: 6.285 MB / 366.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.003343/0.3835, allocations: 1.864 MB / 467 MB, free: 4.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.3853, allocations: 0.6981 MB / 467.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.3853, allocations: 2.688 kB / 467.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008119/0.3861, allocations: 342.8 kB / 468.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.3875, allocations: 228 kB / 468.3 MB, free: 4.273 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.4017, allocations: 8.447 MB / 476.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008766/0.4026, allocations: 1.037 MB / 477.8 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006567/0.4032, allocations: 129.2 kB / 477.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.4039, allocations: 403.3 kB / 478.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4039, allocations: 0 / 478.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/0.458, allocations: 20.92 MB / 499.2 MB, free: 7.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.798/10.26, allocations: 15.73 kB / 499.2 MB, free: 7.109 MB / 398.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.962954201968387]