Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001243/0.001243, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001314/0.001314, allocations: 214 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.367/1.367, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.92 kB / 378.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.246, allocations: 53.37 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008267/0.2542, allocations: 5.81 MB / 437.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004647/0.2589, allocations: 2.287 MB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.2598, allocations: 23.88 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009188/0.2607, allocations: 357.8 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.2622, allocations: 0.5316 MB / 440.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.2632, allocations: 458.3 kB / 441.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.265, allocations: 1.565 MB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000609/0.2656, allocations: 354 kB / 443.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/0.2664, allocations: 0.6074 MB / 443.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008649/0.2673, allocations: 0.6925 MB / 444.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.2675, allocations: 160 kB / 444.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.2678, allocations: 196 kB / 444.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.2682, allocations: 335 kB / 445.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005858/0.2687, allocations: 0.5444 MB / 445.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.2709, allocations: 2 MB / 447.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.271, allocations: 0 / 447.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.271, allocations: 0 / 447.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.044e-05/0.271, allocations: 0 / 447.7 MB, free: 6.711 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003288/0.2743, allocations: 1.501 MB / 449.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.2743, allocations: 8.031 kB / 449.3 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.514e-05/0.2744, allocations: 30.19 kB / 449.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.2746, allocations: 156.2 kB / 449.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/0.2752, allocations: 164.1 kB / 449.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.2765, allocations: 0.677 MB / 450.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.2765, allocations: 74 kB / 450.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.2767, allocations: 96 kB / 450.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.2786, allocations: 1.032 MB / 451.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.2786, allocations: 0 / 451.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/0.2787, allocations: 40 kB / 451.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.2787, allocations: 24 kB / 451.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.2804, allocations: 0.821 MB / 452.4 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005492/0.2859, allocations: 3.064 MB / 455.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.288, allocations: 0.5932 MB / 456 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000603/0.2886, allocations: 285.6 kB / 456.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.2886, allocations: 12.38 kB / 456.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.2887, allocations: 46.44 kB / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.066e-06/0.2887, allocations: 0 / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.00435/0.293, allocations: 1.692 MB / 458 MB, free: 12.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2931, allocations: 85.11 kB / 458.1 MB, free: 12.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.2946, allocations: 1.034 MB / 459.2 MB, free: 11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.2946, allocations: 37.7 kB / 459.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.2951, allocations: 0.5623 MB / 459.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.2953, allocations: 245.9 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.2956, allocations: 166.5 kB / 460.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2958, allocations: 353.8 kB / 460.5 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/0.2965, allocations: 301.8 kB / 460.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.2974, allocations: 499.1 kB / 461.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.299, allocations: 0.7786 MB / 462.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.299, allocations: 0 / 462.1 MB, free: 7.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002088/0.3011, allocations: 0.975 MB / 463 MB, free: 6.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3011, allocations: 8 kB / 463 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3011, allocations: 4 kB / 463.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.3011, allocations: 8 kB / 463.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.3023, allocations: 279.7 kB / 463.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.3023, allocations: 15.94 kB / 463.3 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.3031, allocations: 51.94 kB / 463.4 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.3031, allocations: 32 kB / 463.4 MB, free: 6.547 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 (112): * Single equations (assignments): 112 * 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.0004561/0.3036, allocations: 289.6 kB / 463.7 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.3038, allocations: 115.2 kB / 463.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008106/0.3046, allocations: 354.4 kB / 464.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.3046, allocations: 8 kB / 464.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.3046, allocations: 3.938 kB / 464.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3046, allocations: 0 / 464.2 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.3085, allocations: 2.101 MB / 466.3 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.3085, allocations: 4.844 kB / 466.3 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/0.3094, allocations: 211.7 kB / 466.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.3094, allocations: 11.94 kB / 466.5 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.3095, allocations: 20 kB / 466.5 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/0.3095, allocations: 16 kB / 466.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.3095, allocations: 19.86 kB / 466.6 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.3113, allocations: 1.037 MB / 467.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.3115, allocations: 119.3 kB / 467.7 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.3117, allocations: 19.98 kB / 467.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.3123, allocations: 51.95 kB / 467.8 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3124, allocations: 63.73 kB / 467.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.3125, allocations: 27.98 kB / 467.9 MB, free: 1.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.3135, allocations: 0.719 MB / 468.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3135, allocations: 4 kB / 468.6 MB, free: 1.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008447/0.3144, allocations: 216 kB / 468.8 MB, free: 0.9062 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.003397/0.3178, allocations: 1.875 MB / 470.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.3195, allocations: 0.6941 MB / 471.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.3195, allocations: 4 kB / 471.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.3203, allocations: 342 kB / 471.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.3216, allocations: 226.6 kB / 471.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.3356, allocations: 8.46 MB / 480.4 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.3361, allocations: 451.8 kB / 480.8 MB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006177/0.3368, allocations: 131.5 kB / 481 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.3374, allocations: 399.3 kB / 481.4 MB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3374, allocations: 4 kB / 481.4 MB, free: 3.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/0.3883, allocations: 22.23 MB / 0.4918 GB, free: 14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.96, allocations: 7.188 kB / 0.4918 GB, free: 14 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 21.092611516010948]