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.001396/0.001396, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001401/0.001401, allocations: 195.7 kB / 24.5 MB, free: 4.008 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.396/1.396, allocations: 225.6 MB / 253.3 MB, free: 13.06 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.92 kB / 371.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2416, allocations: 52.19 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00885/0.2505, allocations: 6.472 MB / 429.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004291/0.2548, allocations: 2.21 MB / 432.1 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006609/0.2554, allocations: 23.88 kB / 432.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.2563, allocations: 361.8 kB / 432.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.2574, allocations: 0.4889 MB / 433 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009502/0.2583, allocations: 450.5 kB / 433.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.2602, allocations: 1.546 MB / 435 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.2608, allocations: 349.9 kB / 435.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/0.2616, allocations: 0.5996 MB / 435.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009217/0.2625, allocations: 0.6654 MB / 436.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.2627, allocations: 160 kB / 436.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.263, allocations: 184 kB / 436.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.2633, allocations: 327 kB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.264, allocations: 0.6688 MB / 437.9 MB, free: 100 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.266, allocations: 1.942 MB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.266, allocations: 0 / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.266, allocations: 0 / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.266, allocations: 0 / 439.8 MB, free: 14.15 MB / 350.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.003149/0.2692, allocations: 1.501 MB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2692, allocations: 12.03 kB / 441.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.572e-05/0.2693, allocations: 30.12 kB / 441.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.2694, allocations: 152.2 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.2697, allocations: 140.1 kB / 441.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.2709, allocations: 0.6434 MB / 442.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.271, allocations: 78.12 kB / 442.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.2711, allocations: 99.95 kB / 442.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.2731, allocations: 1.009 MB / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.2731, allocations: 0 / 443.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.895e-05/0.2732, allocations: 40 kB / 443.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.2732, allocations: 24 kB / 443.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.2753, allocations: 0.8913 MB / 444.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.281, allocations: 3.535 MB / 448 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.284, allocations: 0.8636 MB / 448.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.2849, allocations: 335 kB / 449.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.2849, allocations: 15.98 kB / 449.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.2849, allocations: 42.42 kB / 449.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.064e-06/0.2849, allocations: 0 / 449.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005085/0.29, allocations: 1.808 MB / 451 MB, free: 2.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.2901, allocations: 85.11 kB / 451.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.2915, allocations: 0.978 MB / 452.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.2915, allocations: 37.64 kB / 452.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/0.292, allocations: 0.5389 MB / 452.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.2922, allocations: 249.9 kB / 452.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.2925, allocations: 158.6 kB / 453.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2926, allocations: 341.9 kB / 453.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009905/0.2936, allocations: 337.8 kB / 453.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.2947, allocations: 0.5222 MB / 454.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.2967, allocations: 0.8203 MB / 455.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.2967, allocations: 3.984 kB / 455.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002533/0.2992, allocations: 1.024 MB / 456.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2993, allocations: 8 kB / 456.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2993, allocations: 4 kB / 456.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.2993, allocations: 12 kB / 456.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.3006, allocations: 283.6 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.3006, allocations: 8 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000844/0.3014, allocations: 71.92 kB / 456.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.3015, allocations: 35.98 kB / 456.5 MB, free: 12.96 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.0004779/0.302, allocations: 287.2 kB / 456.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.3022, allocations: 119.2 kB / 456.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3032, allocations: 378.2 kB / 457.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.3032, allocations: 8 kB / 457.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3032, allocations: 4 kB / 457.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.3032, allocations: 3.984 kB / 457.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.3073, allocations: 2.256 MB / 459.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.3073, allocations: 8 kB / 459.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008925/0.3082, allocations: 216.4 kB / 459.8 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.3083, allocations: 8 kB / 459.8 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/0.3083, allocations: 23.98 kB / 459.8 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/0.3083, allocations: 11.94 kB / 459.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.3083, allocations: 11.94 kB / 459.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.3103, allocations: 1.037 MB / 460.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.3106, allocations: 119.3 kB / 461 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.3107, allocations: 23.94 kB / 461 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.3114, allocations: 55.89 kB / 461 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3115, allocations: 67.78 kB / 461.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.3115, allocations: 24 kB / 461.1 MB, free: 8.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009451/0.3125, allocations: 0.6786 MB / 461.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3125, allocations: 4 kB / 461.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008324/0.3133, allocations: 207.9 kB / 462 MB, free: 7.195 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.003336/0.3167, allocations: 1.851 MB / 463.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.3186, allocations: 0.7418 MB / 464.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3186, allocations: 0 / 464.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008483/0.3195, allocations: 353.7 kB / 465 MB, free: 4.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.3206, allocations: 209.8 kB / 465.2 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.3346, allocations: 8.434 MB / 473.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/0.3353, allocations: 1.018 MB / 474.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000592/0.3359, allocations: 123.2 kB / 474.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/0.3365, allocations: 383.3 kB / 475.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3365, allocations: 0 / 475.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05385/0.3904, allocations: 20.87 MB / 496 MB, free: 4.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.06, allocations: 11.86 kB / 496 MB, free: 4.98 MB / 398.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.025754323985893]