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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003847/0.003847, allocations: 167.5 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8804/0.8804, allocations: 158.6 MB / 186.5 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.858e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.1373/0.1373, allocations: 5.642 MB / 304.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.1397, allocations: 2.057 MB / 306.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.1401, allocations: 24.66 kB / 306.2 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.1407, allocations: 356.5 kB / 306.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006808/0.1413, allocations: 0.497 MB / 307 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.1419, allocations: 438.8 kB / 307.4 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009582/0.1429, allocations: 1.589 MB / 309 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.1432, allocations: 328.9 kB / 309.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007414/0.144, allocations: 0.8734 MB / 310.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.1445, allocations: 0.5237 MB / 310.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1446, allocations: 159.4 kB / 310.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.1448, allocations: 191.7 kB / 311.1 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.145, allocations: 333.2 kB / 311.4 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.1453, allocations: 463.5 kB / 311.9 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.1468, allocations: 1.987 MB / 313.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1468, allocations: 5 kB / 313.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1468, allocations: 0 / 313.8 MB, free: 8.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1468, allocations: 0 / 313.8 MB, free: 8.203 MB / 282.7 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.001855/0.1486, allocations: 1.485 MB / 315.3 MB, free: 7.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1487, allocations: 13.42 kB / 315.3 MB, free: 7.281 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.1488, allocations: 149 kB / 315.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1489, allocations: 136.7 kB / 315.6 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.1497, allocations: 0.6558 MB / 316.3 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.1497, allocations: 74.25 kB / 316.4 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1498, allocations: 100.1 kB / 316.4 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.1512, allocations: 1.066 MB / 317.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1512, allocations: 2.141 kB / 317.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.1513, allocations: 39.56 kB / 317.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.1513, allocations: 23.34 kB / 317.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.1527, allocations: 0.8819 MB / 318.5 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.1556, allocations: 3.037 MB / 321.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.1573, allocations: 0.8529 MB / 322.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.1578, allocations: 337.9 kB / 322.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.1578, allocations: 12.03 kB / 322.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1578, allocations: 38.66 kB / 322.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=58): time 1.943e-06/0.1578, allocations: 4 kB / 322.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.002825/0.1606, allocations: 1.815 MB / 324.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1607, allocations: 83.98 kB / 324.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/0.1616, allocations: 1.002 MB / 325.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.1616, allocations: 36.33 kB / 325.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.1618, allocations: 0.5344 MB / 326.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.1619, allocations: 242.2 kB / 326.4 MB, free: 420 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1621, allocations: 154.8 kB / 326.6 MB, free: 320 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.1622, allocations: 344.8 kB / 326.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/0.1627, allocations: 343.4 kB / 327.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.1634, allocations: 0.5179 MB / 327.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.1645, allocations: 0.8234 MB / 328.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1645, allocations: 0 / 328.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00133/0.1659, allocations: 1.019 MB / 329.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1659, allocations: 16.14 kB / 329.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1659, allocations: 9.375 kB / 329.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1659, allocations: 12.97 kB / 329.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.1665, allocations: 288.3 kB / 329.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.1666, allocations: 8.656 kB / 330 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.1669, allocations: 66.17 kB / 330 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.167, allocations: 38.11 kB / 330.1 MB, free: 14.22 MB / 298.7 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.0002871/0.1673, allocations: 286.3 kB / 330.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1674, allocations: 102.1 kB / 330.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005578/0.1679, allocations: 383.1 kB / 330.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1679, allocations: 12.09 kB / 330.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1679, allocations: 0 / 330.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.168, allocations: 8.953 kB / 330.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.1704, allocations: 2.104 MB / 332.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1704, allocations: 12.03 kB / 332.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.1708, allocations: 203.7 kB / 333.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1708, allocations: 8 kB / 333.1 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1708, allocations: 24.88 kB / 333.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.1709, allocations: 23.86 kB / 333.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1709, allocations: 11.94 kB / 333.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.1719, allocations: 1.023 MB / 334.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.172, allocations: 115.3 kB / 334.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.1721, allocations: 23.98 kB / 334.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1724, allocations: 47.39 kB / 334.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.1724, allocations: 71.72 kB / 334.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.1725, allocations: 32 kB / 334.5 MB, free: 10 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005949/0.1731, allocations: 0.6747 MB / 335.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1731, allocations: 0 / 335.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005233/0.1736, allocations: 208 kB / 335.4 MB, free: 9.129 MB / 298.7 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.001814/0.1754, allocations: 1.86 MB / 337.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.1766, allocations: 0.7465 MB / 338 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1766, allocations: 4.125 kB / 338 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.1771, allocations: 345.4 kB / 338.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/0.178, allocations: 207.7 kB / 338.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.1885, allocations: 8.429 MB / 347 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1888, allocations: 435.1 kB / 347.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.1893, allocations: 123.2 kB / 347.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.1897, allocations: 380.4 kB / 347.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.1897, allocations: 0 / 347.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.2224, allocations: 21.73 MB / 369.6 MB, free: 6.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.853, allocations: 0 / 369.6 MB, free: 6.18 MB / 330.7 MB " [Timeout remaining time 652] (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 --stepSize=0.00119952 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.639901213347912]