Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 107.3 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 47.52 kB / 300.7 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1073, allocations: 49.44 MB / 350.2 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008034/0.1154, allocations: 6.397 MB / 356.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.1196, allocations: 2.193 MB / 358.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008821/0.1205, allocations: 19.94 kB / 358.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008522/0.1213, allocations: 361.7 kB / 359.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1225, allocations: 480.9 kB / 359.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.1233, allocations: 441.5 kB / 360 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.1245, allocations: 1.534 MB / 361.6 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005568/0.1251, allocations: 0.5208 MB / 362.1 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.1256, allocations: 0.5723 MB / 362.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.1262, allocations: 0.6692 MB / 363.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.1263, allocations: 160 kB / 363.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.1266, allocations: 188 kB / 363.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.1269, allocations: 323 kB / 364 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.1274, allocations: 0.6649 MB / 364.6 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1288, allocations: 1.908 MB / 366.6 MB, free: 3.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1288, allocations: 3.938 kB / 366.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1289, allocations: 0 / 366.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.1289, allocations: 4 kB / 366.6 MB, free: 3.855 MB / 302.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.002554/0.1314, allocations: 1.539 MB / 368.1 MB, free: 2.262 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1315, allocations: 12.03 kB / 368.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.1316, allocations: 148.2 kB / 368.3 MB, free: 2.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.1318, allocations: 131.4 kB / 368.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/0.1327, allocations: 0.7007 MB / 369.1 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.1328, allocations: 82.3 kB / 369.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.133, allocations: 103.8 kB / 369.3 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.1346, allocations: 1.009 MB / 370.3 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.1346, allocations: 0 / 370.3 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.138/0.2726, allocations: 37.89 kB / 370.3 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.2726, allocations: 27.39 kB / 370.3 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.2747, allocations: 0.8856 MB / 371.2 MB, free: 25.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.2792, allocations: 3.645 MB / 374.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.2819, allocations: 0.8959 MB / 375.8 MB, free: 22.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/0.2826, allocations: 373.5 kB / 376.1 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.2826, allocations: 8.875 kB / 376.1 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2827, allocations: 46.69 kB / 376.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.815e-06/0.2827, allocations: 0 / 376.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004273/0.2869, allocations: 1.784 MB / 378 MB, free: 21.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.287, allocations: 83.33 kB / 378 MB, free: 21.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.2881, allocations: 0.9794 MB / 379 MB, free: 21.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.2882, allocations: 37.08 kB / 379.1 MB, free: 21.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.2884, allocations: 0.5269 MB / 379.6 MB, free: 20.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.2886, allocations: 228.3 kB / 379.8 MB, free: 20.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.2888, allocations: 157.9 kB / 380 MB, free: 20.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.2889, allocations: 343.6 kB / 380.3 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008548/0.2897, allocations: 339.7 kB / 380.6 MB, free: 20.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009433/0.2907, allocations: 0.5227 MB / 381.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.2924, allocations: 0.8247 MB / 382 MB, free: 19.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2924, allocations: 2.219 kB / 382 MB, free: 19.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002111/0.2945, allocations: 1.021 MB / 383 MB, free: 19.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2945, allocations: 8.312 kB / 383 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2945, allocations: 5.844 kB / 383 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.2946, allocations: 13.69 kB / 383 MB, free: 19.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.2957, allocations: 284.5 kB / 383.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.2958, allocations: 14.75 kB / 383.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.2966, allocations: 69.59 kB / 383.4 MB, free: 19.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/0.2966, allocations: 37.27 kB / 383.4 MB, free: 19.02 MB / 302.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.0004509/0.2971, allocations: 286.5 kB / 383.7 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.2973, allocations: 99.08 kB / 383.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.2983, allocations: 382.9 kB / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2983, allocations: 12.55 kB / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.2983, allocations: 0 / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.2984, allocations: 5.469 kB / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003603/0.302, allocations: 2.299 MB / 386.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.302, allocations: 11.38 kB / 386.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008514/0.3029, allocations: 210.5 kB / 386.7 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.3029, allocations: 9.344 kB / 386.7 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.3029, allocations: 22.77 kB / 386.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/0.303, allocations: 13.81 kB / 386.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.303, allocations: 15.23 kB / 386.8 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.3044, allocations: 1.023 MB / 387.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.3046, allocations: 190.6 kB / 388 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3047, allocations: 24.33 kB / 388 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.3053, allocations: 51 kB / 388.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3054, allocations: 66.62 kB / 388.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3054, allocations: 28.81 kB / 388.2 MB, free: 16.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000726/0.3062, allocations: 0.6857 MB / 388.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3062, allocations: 0 / 388.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007053/0.3069, allocations: 206.4 kB / 389 MB, free: 15.64 MB / 302.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.002093/0.309, allocations: 1.856 MB / 390.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.3106, allocations: 0.7825 MB / 391.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3106, allocations: 5.094 kB / 391.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.3113, allocations: 379.1 kB / 392.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.3124, allocations: 205.6 kB / 392.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.3232, allocations: 9.004 MB / 401.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.3236, allocations: 1.014 MB / 402.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005443/0.3241, allocations: 127.2 kB / 402.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/0.3246, allocations: 379.3 kB / 402.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3246, allocations: 0 / 402.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.962/2.287, allocations: 19.63 MB / 422.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/12.45, allocations: 14.25 kB / 422.4 MB, free: 0.6055 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches