Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.002001/0.002001, allocations: 125.2 kB / 17.79 MB, free: 5.121 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.002376/0.002376, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 225.6 MB / 249.1 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1034, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01032/0.1138, allocations: 6.447 MB / 424.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004806/0.1186, allocations: 2.197 MB / 426.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007005/0.1193, allocations: 19.94 kB / 426.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.1204, allocations: 361.8 kB / 426.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.1217, allocations: 496.7 kB / 427.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1228, allocations: 443.3 kB / 427.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.1246, allocations: 1.538 MB / 429.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005863/0.1252, allocations: 361.4 kB / 429.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000832/0.126, allocations: 0.5723 MB / 430.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009549/0.127, allocations: 0.6694 MB / 430.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.1272, allocations: 160 kB / 431 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.1276, allocations: 192 kB / 431.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.1279, allocations: 330.9 kB / 431.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009636/0.1289, allocations: 0.6611 MB / 432.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.1313, allocations: 1.942 MB / 434.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1313, allocations: 0 / 434.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1313, allocations: 3.938 kB / 434.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.384e-05/0.1313, allocations: 0 / 434.1 MB, free: 12.2 MB / 366.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.003378/0.1347, allocations: 1.569 MB / 435.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1348, allocations: 8.031 kB / 435.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/0.135, allocations: 152.1 kB / 435.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.1352, allocations: 140.1 kB / 436 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.1367, allocations: 0.709 MB / 436.7 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-05/0.1368, allocations: 78.31 kB / 436.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.137, allocations: 99.89 kB / 436.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.139, allocations: 1.013 MB / 437.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.1391, allocations: 3.984 kB / 437.9 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-05/0.1391, allocations: 40 kB / 437.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.1392, allocations: 24 kB / 437.9 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.1413, allocations: 0.8874 MB / 438.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/0.1472, allocations: 3.63 MB / 442.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.1501, allocations: 0.8674 MB / 443.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/0.1509, allocations: 336.4 kB / 443.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.151, allocations: 23.97 kB / 443.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.151, allocations: 46.34 kB / 443.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.685e-06/0.151, allocations: 0 / 443.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005051/0.1561, allocations: 1.805 MB / 445.5 MB, free: 452 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.656e-05/0.1562, allocations: 85.11 kB / 445.6 MB, free: 348 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.275/0.4312, allocations: 0.9737 MB / 446.6 MB, free: 29.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.4313, allocations: 40.02 kB / 446.6 MB, free: 29.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.4317, allocations: 0.5328 MB / 447.2 MB, free: 29.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.4319, allocations: 241.8 kB / 447.4 MB, free: 29.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.4322, allocations: 157.7 kB / 447.5 MB, free: 29.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.4322, allocations: 337.5 kB / 447.9 MB, free: 29.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008604/0.4331, allocations: 346.4 kB / 448.2 MB, free: 29.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/0.434, allocations: 0.519 MB / 448.7 MB, free: 28.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.4357, allocations: 0.8331 MB / 449.6 MB, free: 28.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4357, allocations: 0 / 449.6 MB, free: 28.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002066/0.4377, allocations: 1.02 MB / 450.6 MB, free: 28.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.4378, allocations: 8.234 kB / 450.6 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4378, allocations: 7.875 kB / 450.6 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.4378, allocations: 10.36 kB / 450.6 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.439, allocations: 286.2 kB / 450.9 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.439, allocations: 14.61 kB / 450.9 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/0.4398, allocations: 66.94 kB / 451 MB, free: 28.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/0.4399, allocations: 36.03 kB / 451 MB, free: 28.6 MB / 366.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.0003941/0.4403, allocations: 282.1 kB / 451.3 MB, free: 28.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.4404, allocations: 107.5 kB / 451.4 MB, free: 28.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000933/0.4413, allocations: 388.6 kB / 451.8 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.4414, allocations: 6.406 kB / 451.8 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4414, allocations: 0 / 451.8 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.4414, allocations: 5.719 kB / 451.8 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.4453, allocations: 2.296 MB / 454.1 MB, free: 27.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.4453, allocations: 6.062 kB / 454.1 MB, free: 27.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009743/0.4463, allocations: 213.2 kB / 454.3 MB, free: 27.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.4463, allocations: 12.81 kB / 454.3 MB, free: 27.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.4464, allocations: 24.16 kB / 454.3 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/0.4464, allocations: 14.67 kB / 454.3 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.4464, allocations: 13 kB / 454.4 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.4479, allocations: 1.036 MB / 455.4 MB, free: 26.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.4481, allocations: 189.2 kB / 455.6 MB, free: 26.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4483, allocations: 20.39 kB / 455.6 MB, free: 26.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006124/0.4489, allocations: 55.98 kB / 455.6 MB, free: 26.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.449, allocations: 62.48 kB / 455.7 MB, free: 26.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.4491, allocations: 29.23 kB / 455.7 MB, free: 26.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009472/0.45, allocations: 0.6764 MB / 456.4 MB, free: 25.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.45, allocations: 1.062 kB / 456.4 MB, free: 25.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009555/0.451, allocations: 211.1 kB / 456.6 MB, free: 25.83 MB / 366.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.002978/0.4539, allocations: 1.868 MB / 458.5 MB, free: 24.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.4558, allocations: 0.7258 MB / 459.2 MB, free: 24.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.4558, allocations: 1.156 kB / 459.2 MB, free: 24.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.4565, allocations: 351.5 kB / 459.6 MB, free: 24.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.4577, allocations: 209.3 kB / 459.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.4715, allocations: 8.445 MB / 468.2 MB, free: 19.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000788/0.4723, allocations: 1.016 MB / 469.2 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007313/0.473, allocations: 118.8 kB / 469.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/0.4735, allocations: 388.1 kB / 469.7 MB, free: 18.4 MB / 366.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4735, allocations: 0 / 469.7 MB, free: 18.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/0.5222, allocations: 20.19 MB / 489.9 MB, free: 4.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.9/10.42, allocations: 8 kB / 489.9 MB, free: 4.695 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.359459876082838]