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.006715/0.006715, allocations: 97.81 kB / 21.96 MB, free: 5.211 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.001711/0.001711, allocations: 218.8 kB / 25.26 MB, free: 3.141 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.343/1.343, allocations: 207.7 MB / 236.1 MB, free: 9.797 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",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.001782/0.001782, allocations: 59.92 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2555, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006001/0.2615, allocations: 5.62 MB / 402.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.2648, allocations: 2.058 MB / 404.8 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.2652, allocations: 24.12 kB / 404.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006633/0.2658, allocations: 356.6 kB / 405.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008924/0.2667, allocations: 496.7 kB / 405.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.2674, allocations: 430.8 kB / 406.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2688, allocations: 1.537 MB / 407.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.2692, allocations: 358.4 kB / 408 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.2698, allocations: 0.5968 MB / 408.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006836/0.2705, allocations: 0.6742 MB / 409.2 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.2707, allocations: 158.9 kB / 409.4 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.271, allocations: 196.1 kB / 409.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.2712, allocations: 327.5 kB / 409.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.2716, allocations: 0.5406 MB / 410.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.2733, allocations: 1.942 MB / 412.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2733, allocations: 0 / 412.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2733, allocations: 3.938 kB / 412.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.2733, allocations: 1.156 kB / 412.4 MB, free: 15.49 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.00303/0.2764, allocations: 1.508 MB / 413.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2764, allocations: 14.39 kB / 413.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.595e-05/0.2765, allocations: 25.59 kB / 413.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.2767, allocations: 146.9 kB / 414.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.2769, allocations: 135.8 kB / 414.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.2782, allocations: 0.6522 MB / 414.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.2783, allocations: 74.66 kB / 414.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.2785, allocations: 97.2 kB / 415 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.2806, allocations: 1.061 MB / 416.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.2806, allocations: 5.094 kB / 416.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.2807, allocations: 37.19 kB / 416.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.2807, allocations: 25.88 kB / 416.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.2827, allocations: 0.8838 MB / 417.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/0.2881, allocations: 3.036 MB / 420.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/0.2908, allocations: 0.8609 MB / 420.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007591/0.2916, allocations: 342.9 kB / 421.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.2916, allocations: 6.375 kB / 421.3 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.2917, allocations: 43.69 kB / 421.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.845e-06/0.2917, allocations: 0 / 421.3 MB, free: 9.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.004875/0.2966, allocations: 1.815 MB / 423.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.2966, allocations: 91.98 kB / 423.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.2979, allocations: 0.9765 MB / 424.2 MB, free: 7.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.298, allocations: 41.7 kB / 424.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/0.2985, allocations: 0.5389 MB / 424.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.2987, allocations: 238 kB / 425 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002778/0.2989, allocations: 154.6 kB / 425.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2991, allocations: 341.9 kB / 425.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.3, allocations: 341.8 kB / 425.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.301, allocations: 0.5223 MB / 426.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.3028, allocations: 0.8319 MB / 427.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.3028, allocations: 4 kB / 427.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002273/0.3051, allocations: 1.02 MB / 428.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.3051, allocations: 8 kB / 428.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3051, allocations: 4 kB / 428.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.3052, allocations: 8.344 kB / 428.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.3064, allocations: 287.6 kB / 428.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.3064, allocations: 19.92 kB / 428.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.3072, allocations: 63.94 kB / 428.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.3073, allocations: 39.98 kB / 428.6 MB, free: 3.113 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.000461/0.3078, allocations: 281.6 kB / 428.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.3079, allocations: 107.3 kB / 429 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.3089, allocations: 386.2 kB / 429.4 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.3089, allocations: 8 kB / 429.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3089, allocations: 0 / 429.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3089, allocations: 0 / 429.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.3129, allocations: 2.111 MB / 431.5 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.3129, allocations: 4 kB / 431.5 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008818/0.3138, allocations: 212.5 kB / 431.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/0.3138, allocations: 8 kB / 431.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.3139, allocations: 23.98 kB / 431.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/0.3139, allocations: 19.88 kB / 431.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.3139, allocations: 12 kB / 431.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.3157, allocations: 1.041 MB / 432.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.316, allocations: 115.3 kB / 432.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.3161, allocations: 20 kB / 433 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.3167, allocations: 51.89 kB / 433 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3169, allocations: 67.78 kB / 433.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.3169, allocations: 27.94 kB / 433.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009503/0.3179, allocations: 0.6825 MB / 433.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3179, allocations: 0 / 433.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000837/0.3187, allocations: 211.9 kB / 434 MB, free: 13.5 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.003331/0.322, allocations: 1.871 MB / 435.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.3238, allocations: 0.7293 MB / 436.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3238, allocations: 1.312 kB / 436.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.3246, allocations: 360.1 kB / 437 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3258, allocations: 201.3 kB / 437.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/0.3396, allocations: 8.431 MB / 445.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.3401, allocations: 435.1 kB / 446 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005325/0.3406, allocations: 123.2 kB / 446.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.3412, allocations: 379.3 kB / 446.5 MB, free: 432 kB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3412, allocations: 0 / 446.5 MB, free: 432 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/0.3908, allocations: 21.45 MB / 467.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.92, allocations: 8.062 kB / 468 MB, free: 10.79 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.778543152962811]