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.001325/0.001325, allocations: 107.2 kB / 17.58 MB, free: 5.559 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.001691/0.001691, allocations: 192 kB / 18.51 MB, free: 4.641 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.403/1.403, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001323/0.001324, allocations: 55.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.09003, allocations: 46.62 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008405/0.09848, allocations: 6.33 MB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004262/0.1028, allocations: 2.148 MB / 335.9 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1039, allocations: 19.94 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1052, allocations: 353.8 kB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1068, allocations: 484.7 kB / 336.7 MB, free: 11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.108, allocations: 431.3 kB / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.1104, allocations: 1.534 MB / 338.7 MB, free: 9.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.1112, allocations: 0.5053 MB / 339.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/0.1121, allocations: 0.5645 MB / 339.7 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.1132, allocations: 0.6653 MB / 340.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.1135, allocations: 160 kB / 340.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.1141, allocations: 196 kB / 340.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.1144, allocations: 319 kB / 341.1 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000771/0.1152, allocations: 0.6688 MB / 341.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.1172, allocations: 1.916 MB / 343.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1172, allocations: 0 / 343.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1172, allocations: 3.938 kB / 343.6 MB, free: 4.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.049e-05/0.1173, allocations: 0 / 343.6 MB, free: 4.02 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.003237/0.1205, allocations: 1.539 MB / 345.2 MB, free: 2.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1206, allocations: 12.03 kB / 345.2 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.1207, allocations: 148.1 kB / 345.3 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.1209, allocations: 135.3 kB / 345.5 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.122, allocations: 0.6968 MB / 346.2 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.1222, allocations: 90.23 kB / 346.3 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1223, allocations: 88 kB / 346.3 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.1242, allocations: 1.017 MB / 347.4 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.1243, allocations: 3.906 kB / 347.4 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1244, allocations: 36 kB / 347.4 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.1244, allocations: 24 kB / 347.4 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.1265, allocations: 0.8874 MB / 348.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005458/0.1319, allocations: 3.66 MB / 352 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/0.1349, allocations: 0.8987 MB / 352.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.1358, allocations: 361.5 kB / 353.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.1358, allocations: 15.97 kB / 353.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.1359, allocations: 47.09 kB / 353.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.395e-06/0.1359, allocations: 0 / 353.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005143/0.141, allocations: 1.78 MB / 355.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.1411, allocations: 85.11 kB / 355.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.1424, allocations: 0.9857 MB / 356.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.1425, allocations: 33.7 kB / 356.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.1428, allocations: 0.5221 MB / 356.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.143, allocations: 228.7 kB / 356.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.1433, allocations: 154.5 kB / 357.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1434, allocations: 341.9 kB / 357.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009364/0.1443, allocations: 345.8 kB / 357.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.1454, allocations: 0.5261 MB / 358.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.1472, allocations: 0.8366 MB / 359.1 MB, free: 4.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1473, allocations: 0 / 359.1 MB, free: 4.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002493/0.1498, allocations: 1.025 MB / 360.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.1498, allocations: 8.031 kB / 360.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.1498, allocations: 8 kB / 360.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.1499, allocations: 8 kB / 360.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.1511, allocations: 291.5 kB / 360.4 MB, free: 2.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.1512, allocations: 19.92 kB / 360.4 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/0.152, allocations: 63.92 kB / 360.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.1521, allocations: 39.98 kB / 360.5 MB, free: 2.559 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.0004383/0.1525, allocations: 282.7 kB / 360.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.1527, allocations: 98.81 kB / 360.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009949/0.1537, allocations: 390.1 kB / 361.3 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.1537, allocations: 8 kB / 361.3 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1537, allocations: 4 kB / 361.3 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1538, allocations: 3.984 kB / 361.3 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.1576, allocations: 2.301 MB / 363.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.1576, allocations: 4 kB / 363.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008925/0.1585, allocations: 208.5 kB / 363.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.1586, allocations: 8 kB / 363.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.1586, allocations: 20 kB / 363.8 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.697e-05/0.1586, allocations: 23.86 kB / 363.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.1586, allocations: 7.938 kB / 363.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.1604, allocations: 1.022 MB / 364.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.1607, allocations: 183.9 kB / 365.1 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.1609, allocations: 31.92 kB / 365.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.1615, allocations: 55.83 kB / 365.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.1616, allocations: 63.81 kB / 365.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.1617, allocations: 31.98 kB / 365.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00112/0.1629, allocations: 0.6786 MB / 365.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1629, allocations: 0 / 365.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000813/0.1637, allocations: 212 kB / 366.1 MB, free: 12.68 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.002745/0.1664, allocations: 1.839 MB / 368 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.1685, allocations: 0.7881 MB / 368.8 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.1685, allocations: 0 / 368.8 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008325/0.1694, allocations: 373.7 kB / 369.1 MB, free: 9.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.1707, allocations: 211.5 kB / 369.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1455/0.3162, allocations: 8.984 MB / 378.3 MB, free: 52.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.3168, allocations: 1.022 MB / 379.3 MB, free: 52.22 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007152/0.3175, allocations: 119.8 kB / 379.5 MB, free: 52.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/0.318, allocations: 385 kB / 379.8 MB, free: 52.2 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.318, allocations: 0 / 379.8 MB, free: 52.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.3558, allocations: 19.63 MB / 399.5 MB, free: 43.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.211, allocations: 12.09 kB / 399.5 MB, free: 43.19 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","/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) Reference file matches