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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 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 1.482/1.482, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 178] 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.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: 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.001696/0.001696, allocations: 55.92 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1054, allocations: 49.11 MB / 391.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006808/0.1122, allocations: 4.54 MB / 395.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.1154, allocations: 1.766 MB / 397.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.1157, allocations: 11.94 kB / 397.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007868/0.1165, allocations: 422.3 kB / 398.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007718/0.1172, allocations: 429.6 kB / 398.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.1179, allocations: 303.5 kB / 398.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.119, allocations: 1.016 MB / 399.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003812/0.1194, allocations: 210.6 kB / 400 MB, free: 40 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.1199, allocations: 414.7 kB / 400.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006403/0.1205, allocations: 0.5256 MB / 401 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.1207, allocations: 96 kB / 401.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1209, allocations: 124 kB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.1211, allocations: 235.2 kB / 401.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.1215, allocations: 461.6 kB / 401.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1229, allocations: 1.276 MB / 403.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1229, allocations: 0 / 403.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1229, allocations: 0 / 403.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.1229, allocations: 0 / 403.1 MB, free: 12.93 MB / 334.1 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.002368/0.1252, allocations: 1.233 MB / 404.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1253, allocations: 8.031 kB / 404.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.1254, allocations: 102.7 kB / 404.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1256, allocations: 108.3 kB / 404.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.1266, allocations: 0.5557 MB / 405.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.1266, allocations: 45.69 kB / 405.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1267, allocations: 63.94 kB / 405.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.1279, allocations: 0.6479 MB / 405.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.128, allocations: 7.953 kB / 405.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.128, allocations: 20 kB / 405.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.128, allocations: 27.88 kB / 405.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.1293, allocations: 0.5556 MB / 406.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.1331, allocations: 2.545 MB / 409 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.1341, allocations: 446.7 kB / 409.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.1348, allocations: 282 kB / 409.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.1348, allocations: 12.41 kB / 409.8 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1349, allocations: 43 kB / 409.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.1349, allocations: 0 / 409.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004387/0.1393, allocations: 1.498 MB / 411.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1393, allocations: 59.97 kB / 411.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.1405, allocations: 0.9419 MB / 412.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.1405, allocations: 37.7 kB / 412.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.1408, allocations: 412.7 kB / 412.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.141, allocations: 218.1 kB / 413 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1412, allocations: 118.6 kB / 413.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1414, allocations: 333.9 kB / 413.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006028/0.142, allocations: 241.9 kB / 413.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/0.1427, allocations: 351 kB / 414 MB, free: 1.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1439, allocations: 0.5635 MB / 414.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1439, allocations: 0 / 414.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001542/0.1454, allocations: 0.735 MB / 415.3 MB, free: 384 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1454, allocations: 11.94 kB / 415.3 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1455, allocations: 4 kB / 415.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1455, allocations: 4 kB / 415.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/0.1462, allocations: 175.7 kB / 415.5 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1462, allocations: 4 kB / 415.5 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.1467, allocations: 39.97 kB / 415.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.1468, allocations: 27.98 kB / 415.5 MB, free: 116 kB / 334.1 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.0003678/0.1471, allocations: 269.6 kB / 415.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.1473, allocations: 91.38 kB / 415.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/0.1487, allocations: 0.6319 MB / 416.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.1487, allocations: 8 kB / 416.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1488, allocations: 0 / 416.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.1488, allocations: 3.984 kB / 416.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.1518, allocations: 1.811 MB / 418.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1518, allocations: 4 kB / 418.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.1524, allocations: 136.1 kB / 418.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.1524, allocations: 4 kB / 418.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.1524, allocations: 12 kB / 418.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.1524, allocations: 15.88 kB / 418.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1524, allocations: 3.984 kB / 418.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.1537, allocations: 0.7513 MB / 419.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.154, allocations: 208.5 kB / 419.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.172e-05/0.1541, allocations: 12 kB / 419.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.1545, allocations: 39.95 kB / 419.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1546, allocations: 52.27 kB / 419.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.1547, allocations: 23.98 kB / 419.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008162/0.1555, allocations: 0.6787 MB / 420.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1555, allocations: 0 / 420.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.156, allocations: 155.9 kB / 420.4 MB, free: 11.02 MB / 350.1 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.002789/0.1588, allocations: 1.543 MB / 422 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.1602, allocations: 0.5535 MB / 422.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1602, allocations: 0 / 422.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.1608, allocations: 283.4 kB / 422.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.1615, allocations: 138.7 kB / 422.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/0.1714, allocations: 6.504 MB / 429.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.172, allocations: 0.9592 MB / 430.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003842/0.1724, allocations: 97.05 kB / 430.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.1728, allocations: 291.3 kB / 430.8 MB, free: 336 kB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1728, allocations: 0 / 430.8 MB, free: 336 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04403/0.2168, allocations: 15.62 MB / 446.4 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.527/9.744, allocations: 7.938 kB / 446.4 MB, free: 0.6055 MB / 366.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.600316118914634]