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.00137/0.001371, allocations: 89.66 kB / 16.65 MB, free: 6.535 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.001615/0.001615, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.426/1.426, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003056, allocations: 8.516 kB / 301.5 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1004, allocations: 50.42 MB / 352 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006688/0.1071, allocations: 5.932 MB / 357.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.111, allocations: 2.131 MB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009626/0.112, allocations: 16 kB / 360 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.1129, allocations: 306.5 kB / 360.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1144, allocations: 429.7 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1155, allocations: 413.4 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.1173, allocations: 1.417 MB / 362.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.1181, allocations: 451.1 kB / 363 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007318/0.1188, allocations: 466 kB / 363.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008901/0.1197, allocations: 0.5677 MB / 364 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.12, allocations: 64 kB / 364.1 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.1203, allocations: 91.98 kB / 364.2 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.1205, allocations: 215 kB / 364.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005684/0.1211, allocations: 0.5845 MB / 365 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.1227, allocations: 1.786 MB / 366.8 MB, free: 4.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1227, allocations: 4 kB / 366.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1227, allocations: 0 / 366.8 MB, free: 4.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.1227, allocations: 0 / 366.8 MB, free: 4.457 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.002717/0.1255, allocations: 1.387 MB / 368.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1255, allocations: 8.031 kB / 368.2 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.1257, allocations: 152.2 kB / 368.3 MB, free: 2.852 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1259, allocations: 127.4 kB / 368.4 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.1269, allocations: 0.7045 MB / 369.1 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.1271, allocations: 86.3 kB / 369.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1272, allocations: 99.91 kB / 369.3 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.1293, allocations: 1.04 MB / 370.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.1293, allocations: 0 / 370.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.1294, allocations: 40 kB / 370.4 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.1294, allocations: 28 kB / 370.4 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1828/0.3123, allocations: 0.9399 MB / 371.4 MB, free: 23.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006197/0.3185, allocations: 3.678 MB / 375.1 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.322, allocations: 1.104 MB / 376.2 MB, free: 22.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008093/0.3228, allocations: 401.1 kB / 376.5 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.3228, allocations: 10.56 kB / 376.6 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3229, allocations: 41.25 kB / 376.6 MB, free: 21.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.3229, allocations: 1.375 kB / 376.6 MB, free: 21.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005262/0.3282, allocations: 1.97 MB / 378.6 MB, free: 21.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3282, allocations: 88.69 kB / 378.7 MB, free: 20.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.3298, allocations: 0.9771 MB / 379.6 MB, free: 20.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.3298, allocations: 40.08 kB / 379.7 MB, free: 20.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003719/0.3302, allocations: 0.5258 MB / 380.2 MB, free: 20.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3304, allocations: 227.9 kB / 380.4 MB, free: 19.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3305, allocations: 73.34 kB / 380.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.3306, allocations: 340.4 kB / 380.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3317, allocations: 384 kB / 381.2 MB, free: 19.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.3328, allocations: 0.5603 MB / 381.8 MB, free: 19.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/0.3348, allocations: 0.9057 MB / 382.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3349, allocations: 4.922 kB / 382.7 MB, free: 18.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002687/0.3375, allocations: 1.095 MB / 383.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.3376, allocations: 7.781 kB / 383.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3376, allocations: 5.531 kB / 383.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.3376, allocations: 10.44 kB / 383.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.339, allocations: 321.1 kB / 384.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.3391, allocations: 18.27 kB / 384.1 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/0.34, allocations: 93.98 kB / 384.2 MB, free: 18.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.34, allocations: 33.48 kB / 384.2 MB, free: 18.16 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.0004457/0.3405, allocations: 285.4 kB / 384.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.3407, allocations: 99.02 kB / 384.6 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.3417, allocations: 426.8 kB / 385 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.3417, allocations: 6.938 kB / 385 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.3418, allocations: 10 kB / 385.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3418, allocations: 2.906 kB / 385.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003961/0.3457, allocations: 2.361 MB / 387.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.3458, allocations: 6.438 kB / 387.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.3467, allocations: 240.4 kB / 387.7 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.3467, allocations: 17.69 kB / 387.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.3467, allocations: 19.72 kB / 387.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.3467, allocations: 17.72 kB / 387.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.3468, allocations: 7.375 kB / 387.7 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.3484, allocations: 1.072 MB / 388.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.3486, allocations: 183.1 kB / 389 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3487, allocations: 21.64 kB / 389 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/0.3493, allocations: 62.45 kB / 389.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3494, allocations: 67.34 kB / 389.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.3495, allocations: 27.45 kB / 389.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008203/0.3503, allocations: 0.6832 MB / 389.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3503, allocations: 0 / 389.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008645/0.3512, allocations: 207.6 kB / 390 MB, free: 14.89 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.002705/0.3539, allocations: 1.9 MB / 391.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002168/0.3561, allocations: 0.809 MB / 392.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.3561, allocations: 1.375 kB / 392.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.357, allocations: 398.9 kB / 393.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.3591, allocations: 271.9 kB / 393.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.3737, allocations: 9.643 MB / 403 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.3744, allocations: 1.019 MB / 404.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0006937/0.3751, allocations: 115.2 kB / 404.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.3756, allocations: 395.2 kB / 404.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3756, allocations: 0 / 404.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.4199, allocations: 22.07 MB / 426.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/0.4202, allocations: 283.2 kB / 426.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.034, allocations: 0 / 426.9 MB, free: 12.12 MB / 334.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