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.001919/0.001919, allocations: 108.5 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.002253/0.002253, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.504/1.504, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 56.3 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.353, allocations: 49.16 MB / 396.3 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00963/0.3627, allocations: 6.407 MB / 402.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.367, allocations: 2.149 MB / 404.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.3678, allocations: 23.94 kB / 404.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009385/0.3687, allocations: 360.8 kB / 405.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3699, allocations: 0.4946 MB / 405.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009184/0.3708, allocations: 424.9 kB / 406.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.3723, allocations: 1.548 MB / 407.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005342/0.3729, allocations: 356.8 kB / 408.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.3736, allocations: 0.5926 MB / 408.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009113/0.3746, allocations: 0.6738 MB / 409.3 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.3748, allocations: 159.2 kB / 409.5 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.3752, allocations: 192.5 kB / 409.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.3755, allocations: 322.7 kB / 410 MB, free: 444 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.3761, allocations: 0.665 MB / 410.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002599/0.3787, allocations: 1.936 MB / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3787, allocations: 0 / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3787, allocations: 4 kB / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.24e-05/0.3788, allocations: 0 / 412.6 MB, free: 14.75 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.003513/0.3823, allocations: 1.504 MB / 414.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.3823, allocations: 13.77 kB / 414.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.3826, allocations: 151.4 kB / 414.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002763/0.3828, allocations: 135.4 kB / 414.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.3842, allocations: 0.649 MB / 415.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.3843, allocations: 73.31 kB / 415.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3845, allocations: 110.1 kB / 415.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3865, allocations: 1.01 MB / 416.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.3865, allocations: 9.766 kB / 416.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.3866, allocations: 35.34 kB / 416.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.3866, allocations: 22.66 kB / 416.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.3888, allocations: 0.8835 MB / 417.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006281/0.3951, allocations: 3.534 MB / 420.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.3981, allocations: 0.8638 MB / 421.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009183/0.399, allocations: 338.9 kB / 421.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.3991, allocations: 11.17 kB / 421.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.3991, allocations: 41.88 kB / 422 MB, free: 8.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.745e-06/0.3991, allocations: 0 / 422 MB, free: 8.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005418/0.4045, allocations: 1.82 MB / 423.8 MB, free: 7.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.4046, allocations: 83.61 kB / 423.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.4061, allocations: 0.9813 MB / 424.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.4062, allocations: 37.64 kB / 424.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/0.4067, allocations: 0.5428 MB / 425.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.4069, allocations: 238 kB / 425.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.4072, allocations: 158.6 kB / 425.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4074, allocations: 337.9 kB / 426.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.4083, allocations: 341.8 kB / 426.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.4094, allocations: 0.5223 MB / 427 MB, free: 4.336 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.4114, allocations: 0.8326 MB / 427.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4114, allocations: 0 / 427.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002494/0.4139, allocations: 1.02 MB / 428.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4139, allocations: 8 kB / 428.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4139, allocations: 4 kB / 428.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.414, allocations: 12.34 kB / 428.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.4152, allocations: 283.6 kB / 429.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.4153, allocations: 15.92 kB / 429.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/0.4162, allocations: 75.88 kB / 429.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.4163, allocations: 39.98 kB / 429.3 MB, free: 1.973 MB / 334.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.0005933/0.4169, allocations: 277.6 kB / 429.6 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.417, allocations: 111.3 kB / 429.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.418, allocations: 382.2 kB / 430 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4181, allocations: 8 kB / 430.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.4181, allocations: 0 / 430.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4181, allocations: 0 / 430.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.4225, allocations: 2.27 MB / 432.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4225, allocations: 8 kB / 432.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/0.4234, allocations: 203.7 kB / 432.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.001e-05/0.4234, allocations: 16.25 kB / 432.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.4235, allocations: 23.98 kB / 432.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.4235, allocations: 15.88 kB / 432.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4235, allocations: 8 kB / 432.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.4254, allocations: 1.036 MB / 433.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/0.4257, allocations: 119.3 kB / 433.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.4258, allocations: 20 kB / 433.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006448/0.4264, allocations: 47.89 kB / 433.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.4265, allocations: 71.72 kB / 433.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.4266, allocations: 27.98 kB / 433.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.4276, allocations: 0.6747 MB / 434.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4276, allocations: 4 kB / 434.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009306/0.4285, allocations: 211.9 kB / 434.8 MB, free: 12.21 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.003636/0.4322, allocations: 1.864 MB / 436.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.4342, allocations: 0.7304 MB / 437.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.4342, allocations: 0 / 437.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008429/0.435, allocations: 353.2 kB / 437.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.4363, allocations: 196.1 kB / 437.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.4513, allocations: 8.419 MB / 446.3 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009184/0.4522, allocations: 1.026 MB / 447.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006371/0.4528, allocations: 123.2 kB / 447.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006063/0.4534, allocations: 387.3 kB / 447.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4534, allocations: 0 / 447.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06444/0.5179, allocations: 20.84 MB / 468.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.04, allocations: 3.938 kB / 468.7 MB, free: 9.57 MB / 382.1 MB " [Timeout remaining time 646] (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/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/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: 17.00114457588643]