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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_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.0008404/0.0008405, allocations: 94.11 kB / 17.3 MB, free: 6.344 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.0009292/0.0009293, allocations: 180 kB / 18.21 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08116/0.08164, allocations: 47.58 MB / 329.1 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006029/0.0877, allocations: 5.867 MB / 334.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.09121, allocations: 2.093 MB / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007385/0.09198, allocations: 23.94 kB / 337 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008126/0.0928, allocations: 306.5 kB / 337.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.09402, allocations: 425.4 kB / 337.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.09483, allocations: 387.6 kB / 338.1 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.09625, allocations: 1.429 MB / 339.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.0968, allocations: 439.2 kB / 340 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.09726, allocations: 462.1 kB / 340.4 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005584/0.09782, allocations: 0.5677 MB / 341 MB, free: 7.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.09794, allocations: 64 kB / 341.1 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.09814, allocations: 87.98 kB / 341.2 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.09833, allocations: 219 kB / 341.4 MB, free: 7.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.09879, allocations: 0.5806 MB / 342 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.1001, allocations: 1.802 MB / 343.8 MB, free: 4.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1001, allocations: 3.938 kB / 343.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1001, allocations: 0 / 343.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.1002, allocations: 0 / 343.8 MB, free: 4.863 MB / 286.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.002661/0.1028, allocations: 1.383 MB / 345.1 MB, free: 3.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1029, allocations: 8.031 kB / 345.2 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.1031, allocations: 148.2 kB / 345.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.1032, allocations: 127.4 kB / 345.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009574/0.1042, allocations: 0.6967 MB / 346.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.1043, allocations: 90.3 kB / 346.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.1045, allocations: 92 kB / 346.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.1064, allocations: 1.044 MB / 347.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.1064, allocations: 3.906 kB / 347.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.1065, allocations: 47.98 kB / 347.4 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.1065, allocations: 24 kB / 347.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.1086, allocations: 0.946 MB / 348.4 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004897/0.1135, allocations: 3.687 MB / 352.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.1166, allocations: 1.098 MB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/0.1174, allocations: 397.5 kB / 353.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.1174, allocations: 11.98 kB / 353.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1175, allocations: 39.16 kB / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.314e-06/0.1175, allocations: 0 / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004821/0.1223, allocations: 1.976 MB / 355.6 MB, free: 8.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1224, allocations: 89.09 kB / 355.7 MB, free: 8.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.1235, allocations: 0.9818 MB / 356.6 MB, free: 7.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.1236, allocations: 37.7 kB / 356.7 MB, free: 7.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.1239, allocations: 0.5338 MB / 357.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.1241, allocations: 224.8 kB / 357.4 MB, free: 6.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.1242, allocations: 69.67 kB / 357.5 MB, free: 6.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1243, allocations: 338 kB / 357.8 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009262/0.1252, allocations: 381.8 kB / 358.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.1263, allocations: 0.5652 MB / 358.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.1282, allocations: 0.9108 MB / 359.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1282, allocations: 0 / 359.7 MB, free: 4.406 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002296/0.1305, allocations: 1.103 MB / 360.8 MB, free: 3.297 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.1306, allocations: 8 kB / 360.8 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1306, allocations: 4 kB / 360.8 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.1306, allocations: 12 kB / 360.8 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.1319, allocations: 327.5 kB / 361.1 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.1319, allocations: 8 kB / 361.1 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/0.1327, allocations: 91.92 kB / 361.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.1328, allocations: 35.98 kB / 361.2 MB, free: 2.82 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.0004111/0.1332, allocations: 282.7 kB / 361.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1333, allocations: 106.7 kB / 361.6 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009984/0.1343, allocations: 430.2 kB / 362 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1344, allocations: 11.98 kB / 362.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1344, allocations: 0 / 362.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1344, allocations: 3.938 kB / 362.1 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003802/0.1382, allocations: 2.348 MB / 364.4 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.1382, allocations: 8 kB / 364.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/0.1391, allocations: 231.9 kB / 364.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.1391, allocations: 8 kB / 364.7 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.1392, allocations: 27.98 kB / 364.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.1392, allocations: 15.88 kB / 364.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.1392, allocations: 15.94 kB / 364.7 MB, free: 15.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1409, allocations: 1.072 MB / 365.8 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.1411, allocations: 191.8 kB / 366 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.1412, allocations: 20 kB / 366 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.1418, allocations: 71.88 kB / 366.1 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1419, allocations: 63.81 kB / 366.1 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.142, allocations: 24 kB / 366.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008493/0.1428, allocations: 0.6825 MB / 366.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1428, allocations: 0 / 366.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007269/0.1436, allocations: 208 kB / 367 MB, free: 12.75 MB / 318.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.002658/0.1462, allocations: 1.889 MB / 368.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.1481, allocations: 0.8233 MB / 369.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1481, allocations: 0 / 369.7 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007993/0.1489, allocations: 389.8 kB / 370.1 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.1509, allocations: 263.1 kB / 370.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1524/0.3032, allocations: 9.627 MB / 380 MB, free: 50.9 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.3038, allocations: 1.022 MB / 381 MB, free: 50.2 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007317/0.3046, allocations: 120.3 kB / 381.2 MB, free: 50.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.3051, allocations: 395.9 kB / 381.5 MB, free: 50.18 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3051, allocations: 0 / 381.5 MB, free: 50.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5017/0.8068, allocations: 22.07 MB / 403.6 MB, free: 38.5 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.807, allocations: 278.2 kB / 403.9 MB, free: 38.11 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.064, allocations: 0 / 403.9 MB, free: 38.11 MB / 318.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches