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.001249/0.001249, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.00122/0.00122, allocations: 190 kB / 18.07 MB, free: 5.414 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.155/1.155, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.00103/0.00103, allocations: 47.92 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07265/0.07369, allocations: 46.62 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006063/0.07978, allocations: 6.326 MB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.08223, allocations: 2.109 MB / 335.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.08251, allocations: 19.94 kB / 335.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.08309, allocations: 306.6 kB / 335.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.08376, allocations: 433.4 kB / 335.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.08432, allocations: 383.7 kB / 336.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.08537, allocations: 1.432 MB / 337.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.08587, allocations: 459.2 kB / 338.1 MB, free: 9.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.08627, allocations: 490 kB / 338.6 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.08677, allocations: 0.6029 MB / 339.2 MB, free: 8.199 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.08689, allocations: 83.94 kB / 339.3 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.0871, allocations: 108 kB / 339.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.08728, allocations: 239 kB / 339.6 MB, free: 7.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.08772, allocations: 0.5868 MB / 340.2 MB, free: 7.188 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.0889, allocations: 1.849 MB / 342.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08891, allocations: 0 / 342.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.08892, allocations: 0 / 342.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.08894, allocations: 0 / 342.1 MB, free: 5.332 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.002508/0.09145, allocations: 1.535 MB / 343.6 MB, free: 3.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.09149, allocations: 12.03 kB / 343.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.09164, allocations: 148.2 kB / 343.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.09182, allocations: 131.3 kB / 343.9 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.09273, allocations: 0.7045 MB / 344.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.09285, allocations: 82.25 kB / 344.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.09297, allocations: 96 kB / 344.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.09465, allocations: 1.009 MB / 345.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.09469, allocations: 11.89 kB / 345.8 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.09477, allocations: 40 kB / 345.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.09479, allocations: 24 kB / 345.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.09658, allocations: 0.8874 MB / 346.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.101, allocations: 3.66 MB / 350.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.1035, allocations: 0.895 MB / 351.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/0.1042, allocations: 377.2 kB / 351.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.1042, allocations: 8 kB / 351.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1042, allocations: 43.14 kB / 351.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.553e-06/0.1043, allocations: 0 / 351.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004152/0.1084, allocations: 1.788 MB / 353.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1085, allocations: 85.11 kB / 353.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1095, allocations: 0.9818 MB / 354.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.1096, allocations: 37.7 kB / 354.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.1099, allocations: 0.526 MB / 355.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.1101, allocations: 224.8 kB / 355.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.1103, allocations: 162.5 kB / 355.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1104, allocations: 337.9 kB / 355.8 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008168/0.1112, allocations: 345.8 kB / 356.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/0.1121, allocations: 0.5222 MB / 356.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.1137, allocations: 0.8365 MB / 357.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1137, allocations: 0 / 357.5 MB, free: 5.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002014/0.1158, allocations: 1.017 MB / 358.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1158, allocations: 12.03 kB / 358.6 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.1158, allocations: 8 kB / 358.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1158, allocations: 8 kB / 358.6 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.117, allocations: 283.6 kB / 358.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.117, allocations: 11.98 kB / 358.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/0.1177, allocations: 67.94 kB / 358.9 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.1178, allocations: 35.98 kB / 359 MB, free: 3.875 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.0003423/0.1181, allocations: 286.6 kB / 359.2 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.1183, allocations: 98.81 kB / 359.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009026/0.1192, allocations: 390.1 kB / 359.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1192, allocations: 7.938 kB / 359.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1192, allocations: 8 kB / 359.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1192, allocations: 3.984 kB / 359.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.1227, allocations: 2.297 MB / 362 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.1227, allocations: 4 kB / 362 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/0.1235, allocations: 220.5 kB / 362.3 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.1235, allocations: 8 kB / 362.3 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.1236, allocations: 23.98 kB / 362.3 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-05/0.1236, allocations: 11.94 kB / 362.3 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.1236, allocations: 15.92 kB / 362.3 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.1251, allocations: 1.021 MB / 363.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.1253, allocations: 187.8 kB / 363.5 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1254, allocations: 24 kB / 363.5 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.126, allocations: 59.88 kB / 363.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.1261, allocations: 63.75 kB / 363.7 MB, free: 14.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.1262, allocations: 24 kB / 363.7 MB, free: 14.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007597/0.1269, allocations: 0.6825 MB / 364.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1269, allocations: 0 / 364.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006695/0.1276, allocations: 208 kB / 364.6 MB, free: 13.98 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.002377/0.13, allocations: 1.839 MB / 366.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.1316, allocations: 0.7531 MB / 367.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1316, allocations: 4 kB / 367.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.1323, allocations: 373.7 kB / 367.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.1334, allocations: 187.4 kB / 367.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.1462, allocations: 9.368 MB / 377.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1109/0.2571, allocations: 1.017 MB / 378.1 MB, free: 52.88 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006781/0.2578, allocations: 127.4 kB / 378.2 MB, free: 52.87 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.2582, allocations: 380.8 kB / 378.6 MB, free: 52.86 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2582, allocations: 1.125 kB / 378.6 MB, free: 52.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/0.4067, allocations: 18.96 MB / 397.6 MB, free: 44.83 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.4069, allocations: 278.7 kB / 397.8 MB, free: 44.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.785, allocations: 0 / 397.8 MB, free: 44.45 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