Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00574/0.00574, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001625/0.001625, allocations: 202.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 51.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2583, allocations: 49.16 MB / 397.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006438/0.2647, allocations: 6.397 MB / 403.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.2681, allocations: 2.158 MB / 405.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.2687, allocations: 19.81 kB / 405.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.2694, allocations: 363.8 kB / 406.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.2704, allocations: 0.4928 MB / 406.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.2712, allocations: 428.6 kB / 407 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.2727, allocations: 1.546 MB / 408.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004519/0.2731, allocations: 357.9 kB / 408.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006244/0.2738, allocations: 0.5881 MB / 409.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.2745, allocations: 0.6778 MB / 410.1 MB, free: 496 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.2747, allocations: 160.7 kB / 410.3 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.275, allocations: 188 kB / 410.5 MB, free: 488 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.2752, allocations: 325.7 kB / 410.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.2758, allocations: 0.6658 MB / 411.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.278, allocations: 1.942 MB / 413.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.278, allocations: 0 / 413.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.278, allocations: 0 / 413.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.278, allocations: 1.688 kB / 413.4 MB, free: 14.59 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003289/0.2813, allocations: 1.495 MB / 414.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2813, allocations: 13.64 kB / 414.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.612e-05/0.2814, allocations: 24.97 kB / 414.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.2816, allocations: 155.6 kB / 415.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.2818, allocations: 135.3 kB / 415.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.2832, allocations: 0.657 MB / 415.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.2832, allocations: 76.53 kB / 416 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.2834, allocations: 98.8 kB / 416 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.2853, allocations: 1.015 MB / 417.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.2853, allocations: 0 / 417.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.2854, allocations: 40.69 kB / 417.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.2854, allocations: 23.56 kB / 417.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.2875, allocations: 0.8824 MB / 418 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005881/0.2933, allocations: 3.542 MB / 421.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.2963, allocations: 0.8567 MB / 422.4 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/0.2971, allocations: 342.8 kB / 422.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.2972, allocations: 10.95 kB / 422.8 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.2973, allocations: 37.53 kB / 422.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.745e-06/0.2973, allocations: 0 / 422.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005083/0.3024, allocations: 1.824 MB / 424.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.3024, allocations: 88.28 kB / 424.7 MB, free: 7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.3038, allocations: 0.9733 MB / 425.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.3039, allocations: 33.7 kB / 425.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/0.3044, allocations: 0.5389 MB / 426.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.3046, allocations: 238 kB / 426.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.3048, allocations: 162.6 kB / 426.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.305, allocations: 337.9 kB / 427 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009136/0.3059, allocations: 345.7 kB / 427.3 MB, free: 4.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.307, allocations: 0.5184 MB / 427.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.3089, allocations: 0.8358 MB / 428.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3089, allocations: 0 / 428.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002365/0.3112, allocations: 1.028 MB / 429.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3113, allocations: 8 kB / 429.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3113, allocations: 4 kB / 429.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.3113, allocations: 12 kB / 429.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.3126, allocations: 283.6 kB / 430 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.3126, allocations: 15.92 kB / 430 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/0.3134, allocations: 59.94 kB / 430.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.3135, allocations: 39.98 kB / 430.1 MB, free: 1.828 MB / 334.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 (108): * Single equations (assignments): 108 * 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.0004872/0.314, allocations: 285.6 kB / 430.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.3142, allocations: 111.3 kB / 430.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009962/0.3152, allocations: 386.1 kB / 430.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.3152, allocations: 12 kB / 430.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3152, allocations: 0 / 430.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3152, allocations: 3.984 kB / 430.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/0.3192, allocations: 2.251 MB / 433.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.3192, allocations: 11.94 kB / 433.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/0.32, allocations: 204.5 kB / 433.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.384e-05/0.32, allocations: 12 kB / 433.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3201, allocations: 23.98 kB / 433.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.3201, allocations: 15.88 kB / 433.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/0.3201, allocations: 11.94 kB / 433.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3219, allocations: 1.033 MB / 434.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.3221, allocations: 119.3 kB / 434.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.3222, allocations: 20 kB / 434.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/0.3228, allocations: 55.89 kB / 434.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.3229, allocations: 71.72 kB / 434.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.323, allocations: 27.98 kB / 434.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008925/0.3239, allocations: 0.6747 MB / 435.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3239, allocations: 0 / 435.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000815/0.3247, allocations: 211.9 kB / 435.6 MB, free: 12.06 MB / 350.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.003239/0.3279, allocations: 1.859 MB / 437.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.3298, allocations: 0.7338 MB / 438.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3298, allocations: 3.938 kB / 438.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.3306, allocations: 357.7 kB / 438.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.3318, allocations: 200.4 kB / 438.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.3453, allocations: 8.427 MB / 447.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.346, allocations: 1.014 MB / 448.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005315/0.3465, allocations: 127.2 kB / 448.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.3471, allocations: 383.3 kB / 448.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3471, allocations: 0 / 448.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04831/0.3954, allocations: 20.86 MB / 469.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.89, allocations: 4.062 kB / 469.5 MB, free: 9.391 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.730050231970381]