Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.0009714/0.0009714, allocations: 87.62 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.006247/0.006247, allocations: 162.2 kB / 24.69 MB, free: 8.895 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.8876/0.8876, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.409e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.1289/0.1289, allocations: 4.108 MB / 302.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1313, allocations: 1.671 MB / 304.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.1317, allocations: 13.62 kB / 304.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007292/0.1324, allocations: 427.8 kB / 304.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008078/0.1332, allocations: 430.8 kB / 305.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.1338, allocations: 309.4 kB / 305.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1349, allocations: 1.046 MB / 306.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003001/0.1352, allocations: 191.3 kB / 306.6 MB, free: 12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006072/0.1358, allocations: 0.5918 MB / 307.2 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.1362, allocations: 440.2 kB / 307.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1363, allocations: 101.2 kB / 307.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1365, allocations: 125.2 kB / 307.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.1366, allocations: 242 kB / 308.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.1369, allocations: 298.2 kB / 308.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.1381, allocations: 1.3 MB / 309.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1381, allocations: 1.188 kB / 309.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1381, allocations: 0 / 309.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1381, allocations: 0 / 309.7 MB, free: 10.82 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001498/0.1396, allocations: 1.142 MB / 310.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1396, allocations: 13.89 kB / 310.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.139e-05/0.1397, allocations: 100.9 kB / 310.9 MB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1398, allocations: 102.3 kB / 311 MB, free: 9.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.1405, allocations: 0.5011 MB / 311.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.1405, allocations: 46.28 kB / 311.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.1406, allocations: 59.09 kB / 311.6 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.1415, allocations: 0.6771 MB / 312.3 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1415, allocations: 0 / 312.3 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.1415, allocations: 25.56 kB / 312.3 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1416, allocations: 19.42 kB / 312.4 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008345/0.1424, allocations: 0.5526 MB / 312.9 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.1447, allocations: 2.092 MB / 315 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.1454, allocations: 444 kB / 315.4 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.1458, allocations: 286.2 kB / 315.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.1459, allocations: 10.47 kB / 315.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.1459, allocations: 43.47 kB / 315.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=48): time 2.875e-06/0.1459, allocations: 0 / 315.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=61): time 0.002585/0.1485, allocations: 1.504 MB / 317.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.1485, allocations: 60.77 kB / 317.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.1493, allocations: 0.9478 MB / 318.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1494, allocations: 36.55 kB / 318.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1495, allocations: 413.6 kB / 318.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.1496, allocations: 213.5 kB / 318.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.1497, allocations: 121.5 kB / 319 MB, free: 5.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.084e-05/0.1498, allocations: 332.4 kB / 319.4 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.1501, allocations: 246.3 kB / 319.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.1505, allocations: 351.9 kB / 319.9 MB, free: 5.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.1512, allocations: 0.5652 MB / 320.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1512, allocations: 1.312 kB / 320.5 MB, free: 4.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009038/0.1521, allocations: 0.7307 MB / 321.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1521, allocations: 5.094 kB / 321.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.1521, allocations: 3.094 kB / 321.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1522, allocations: 12.91 kB / 321.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.1526, allocations: 171.6 kB / 321.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1526, allocations: 13.42 kB / 321.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.1528, allocations: 35 kB / 321.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.1528, allocations: 28.55 kB / 321.5 MB, free: 4.277 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.000221/0.1531, allocations: 267.1 kB / 321.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.1531, allocations: 90.23 kB / 321.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008383/0.154, allocations: 0.6206 MB / 322.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.154, allocations: 13.53 kB / 322.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.154, allocations: 1.406 kB / 322.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.154, allocations: 3.984 kB / 322.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.1557, allocations: 1.562 MB / 324.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1557, allocations: 2.5 kB / 324.1 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.156, allocations: 137.5 kB / 324.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.156, allocations: 8.859 kB / 324.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.156, allocations: 18.31 kB / 324.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.156, allocations: 5.125 kB / 324.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.156, allocations: 7.844 kB / 324.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/0.1568, allocations: 0.7378 MB / 325 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.1569, allocations: 134.6 kB / 325.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.157, allocations: 17.69 kB / 325.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.1575, allocations: 34.47 kB / 325.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1576, allocations: 49.95 kB / 325.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.1577, allocations: 25.45 kB / 325.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005775/0.1582, allocations: 0.6815 MB / 325.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1582, allocations: 3.938 kB / 325.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.1586, allocations: 151.5 kB / 326.1 MB, free: 1.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.0014/0.16, allocations: 1.575 MB / 327.6 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008272/0.1609, allocations: 0.5483 MB / 328.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1609, allocations: 6.094 kB / 328.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.1613, allocations: 275.8 kB / 328.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005459/0.1618, allocations: 125 kB / 328.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/0.1691, allocations: 6.505 MB / 335.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.1693, allocations: 367.2 kB / 335.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.1696, allocations: 105 kB / 335.5 MB, free: 8.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.1699, allocations: 292.4 kB / 335.8 MB, free: 8.676 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1699, allocations: 4 kB / 335.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.2012, allocations: 16.79 MB / 352.6 MB, free: 7.723 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.386/7.587, allocations: 3.984 kB / 352.6 MB, free: 7.719 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.00159936 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.290313749574125]