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.001285/0.001285, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001528/0.001528, allocations: 209.4 kB / 24.47 MB, free: 3.547 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.367/1.367, allocations: 207.7 MB / 235.3 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="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.001836/0.001836, allocations: 51.92 kB / 347.2 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.261, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007008/0.268, allocations: 5.636 MB / 402 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.2725, allocations: 2.054 MB / 404 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.2737, allocations: 24.03 kB / 404.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008482/0.2745, allocations: 357.1 kB / 404.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.2758, allocations: 497.6 kB / 404.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2768, allocations: 446.2 kB / 405.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.2786, allocations: 1.537 MB / 406.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.2791, allocations: 330 kB / 407.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007156/0.2799, allocations: 0.5923 MB / 407.8 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/0.2806, allocations: 0.5961 MB / 408.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.2809, allocations: 160.6 kB / 408.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.2812, allocations: 187.7 kB / 408.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.2814, allocations: 327.3 kB / 409 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.2819, allocations: 0.5409 MB / 409.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.2839, allocations: 1.957 MB / 411.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2839, allocations: 0 / 411.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2839, allocations: 5.625 kB / 411.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.284, allocations: 0 / 411.5 MB, free: 15.58 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.003469/0.2874, allocations: 1.496 MB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2875, allocations: 13.73 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.2877, allocations: 147.4 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.2879, allocations: 135.4 kB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.2893, allocations: 0.6564 MB / 414 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/0.2894, allocations: 69.97 kB / 414.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.2896, allocations: 101.4 kB / 414.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.2918, allocations: 1.064 MB / 415.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.2918, allocations: 1.156 kB / 415.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.2919, allocations: 37 kB / 415.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.292, allocations: 23.06 kB / 415.3 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.2942, allocations: 0.8817 MB / 416.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006032/0.3002, allocations: 3.033 MB / 419.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.3033, allocations: 0.8534 MB / 420 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.3041, allocations: 333.9 kB / 420.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.3041, allocations: 15.83 kB / 420.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.3042, allocations: 45.84 kB / 420.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.695e-06/0.3042, allocations: 1.281 kB / 420.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005446/0.3096, allocations: 1.815 MB / 422.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.3097, allocations: 88.45 kB / 422.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.3113, allocations: 1.004 MB / 423.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.3114, allocations: 33.7 kB / 423.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005198/0.3119, allocations: 0.5312 MB / 423.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.3121, allocations: 241.9 kB / 424.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.3124, allocations: 158.6 kB / 424.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3126, allocations: 341.9 kB / 424.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3138, allocations: 345.8 kB / 425 MB, free: 6.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.315, allocations: 0.5184 MB / 425.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.3171, allocations: 0.828 MB / 426.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3171, allocations: 4 kB / 426.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002643/0.3197, allocations: 1.016 MB / 427.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3197, allocations: 11.98 kB / 427.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3197, allocations: 8 kB / 427.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.3198, allocations: 11.94 kB / 427.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.3211, allocations: 287.6 kB / 427.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.3211, allocations: 11.94 kB / 427.7 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009006/0.322, allocations: 67.92 kB / 427.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.3222, allocations: 35.98 kB / 427.8 MB, free: 3.227 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.0005311/0.3227, allocations: 285.6 kB / 428 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.3229, allocations: 107.3 kB / 428.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.3239, allocations: 386.2 kB / 428.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.3239, allocations: 8 kB / 428.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.3239, allocations: 0 / 428.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.3239, allocations: 7.984 kB / 428.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/0.3283, allocations: 2.107 MB / 430.6 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.3283, allocations: 8 kB / 430.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009054/0.3292, allocations: 204 kB / 430.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.3292, allocations: 12 kB / 430.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.3293, allocations: 20 kB / 430.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/0.3293, allocations: 19.86 kB / 430.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/0.3293, allocations: 11.94 kB / 430.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.3314, allocations: 1.037 MB / 431.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.3317, allocations: 115.3 kB / 432.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3318, allocations: 23.98 kB / 432.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.3325, allocations: 59.88 kB / 432.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.3326, allocations: 67.78 kB / 432.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.3327, allocations: 28 kB / 432.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.3337, allocations: 0.6747 MB / 432.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3337, allocations: 0 / 432.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008563/0.3346, allocations: 212 kB / 433.1 MB, free: 13.61 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.003645/0.3382, allocations: 1.867 MB / 435 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.3402, allocations: 0.7299 MB / 435.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3402, allocations: 0 / 435.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.341, allocations: 361.7 kB / 436.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3422, allocations: 212.3 kB / 436.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.3573, allocations: 8.431 MB / 444.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.3579, allocations: 431.1 kB / 445.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006898/0.3586, allocations: 123.2 kB / 445.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006558/0.3593, allocations: 383.3 kB / 445.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3593, allocations: 0 / 445.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0576/0.4169, allocations: 21.62 MB / 467.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.35, allocations: 3.984 kB / 467.2 MB, free: 10.72 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.081130316946656]