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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 119.8 kB / 18.45 MB, free: 4.457 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.00153/0.00153, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.52/1.52, allocations: 207.6 MB / 231.8 MB, free: 3.984 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.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: 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.001714/0.001714, allocations: 55.91 kB / 342.2 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1047, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008414/0.1131, allocations: 6.368 MB / 397.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004208/0.1173, allocations: 2.139 MB / 399.9 MB, free: 196 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.1179, allocations: 19.94 kB / 399.9 MB, free: 176 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008856/0.1188, allocations: 365.9 kB / 400.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.12, allocations: 496.7 kB / 400.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.1209, allocations: 435.3 kB / 401.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1226, allocations: 1.537 MB / 402.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005576/0.1232, allocations: 357.5 kB / 403 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007498/0.1239, allocations: 0.5878 MB / 403.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/0.1247, allocations: 0.6692 MB / 404.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.1249, allocations: 160 kB / 404.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.1252, allocations: 196 kB / 404.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.1255, allocations: 323 kB / 405 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006393/0.1261, allocations: 0.6687 MB / 405.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.1281, allocations: 1.934 MB / 407.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1281, allocations: 0 / 407.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1281, allocations: 0 / 407.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.1282, allocations: 0 / 407.6 MB, free: 8.445 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003124/0.1313, allocations: 1.576 MB / 409.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1313, allocations: 8.031 kB / 409.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.1315, allocations: 156.1 kB / 409.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.1317, allocations: 136.1 kB / 409.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.133, allocations: 0.709 MB / 410.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-05/0.1331, allocations: 74.38 kB / 410.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.1333, allocations: 107.9 kB / 410.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.1352, allocations: 1.009 MB / 411.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.1352, allocations: 3.984 kB / 411.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.1353, allocations: 40 kB / 411.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.1353, allocations: 24 kB / 411.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.1373, allocations: 0.8835 MB / 412.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/0.1431, allocations: 3.63 MB / 415.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.1458, allocations: 0.879 MB / 416.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000743/0.1466, allocations: 341.3 kB / 417.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.1466, allocations: 11.98 kB / 417.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1467, allocations: 34.56 kB / 417.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.983e-06/0.1467, allocations: 4 kB / 417.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004868/0.1515, allocations: 1.815 MB / 419 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.1516, allocations: 89.05 kB / 419.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.1529, allocations: 0.9742 MB / 420.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.153, allocations: 33.7 kB / 420.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/0.1535, allocations: 0.5389 MB / 420.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.1537, allocations: 238 kB / 420.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.154, allocations: 162.5 kB / 421 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1541, allocations: 338 kB / 421.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008965/0.155, allocations: 341.8 kB / 421.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.1561, allocations: 0.5223 MB / 422.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.1579, allocations: 0.829 MB / 423 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1579, allocations: 4 kB / 423 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002324/0.1602, allocations: 1.026 MB / 424.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.1602, allocations: 8 kB / 424.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.1602, allocations: 4 kB / 424.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.1603, allocations: 12 kB / 424.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.1615, allocations: 283.6 kB / 424.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.992e-05/0.1615, allocations: 19.92 kB / 424.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/0.1623, allocations: 63.94 kB / 424.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.1624, allocations: 35.98 kB / 424.5 MB, free: 6.98 MB / 350.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.0004628/0.1628, allocations: 285.6 kB / 424.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.163, allocations: 111.3 kB / 424.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.164, allocations: 386.1 kB / 425.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.164, allocations: 12 kB / 425.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.164, allocations: 0 / 425.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.164, allocations: 3.984 kB / 425.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.1684, allocations: 2.291 MB / 427.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.1684, allocations: 11.94 kB / 427.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.1692, allocations: 208.5 kB / 427.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.1692, allocations: 8 kB / 427.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.1693, allocations: 23.98 kB / 427.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.1693, allocations: 15.88 kB / 427.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.1693, allocations: 8 kB / 427.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.1711, allocations: 1.034 MB / 428.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.1714, allocations: 192.4 kB / 429 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.1716, allocations: 20 kB / 429.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.1723, allocations: 55.83 kB / 429.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1724, allocations: 71.75 kB / 429.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.1724, allocations: 27.98 kB / 429.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001024/0.1735, allocations: 0.6786 MB / 429.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1735, allocations: 0 / 429.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008761/0.1743, allocations: 207.9 kB / 430.1 MB, free: 1.086 MB / 350.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.00342/0.1778, allocations: 1.853 MB / 431.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.1796, allocations: 0.7337 MB / 432.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.1796, allocations: 0 / 432.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.1805, allocations: 369.6 kB / 433 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.1817, allocations: 204.3 kB / 433.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.1964, allocations: 8.414 MB / 441.7 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008263/0.1972, allocations: 1.014 MB / 442.7 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005925/0.1978, allocations: 127.2 kB / 442.8 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.1984, allocations: 383.3 kB / 443.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1984, allocations: 0 / 443.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/0.4372, allocations: 20.17 MB / 463.3 MB, free: 62.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.832/10.27, allocations: 7.844 kB / 463.3 MB, free: 62.7 MB / 382.1 MB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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: 13.247590488288552]