Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 102.6 kB / 17.72 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 187.1 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 51.91 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09167, allocations: 46.62 MB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006297/0.09801, allocations: 4.517 MB / 379.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1856/0.2836, allocations: 1.737 MB / 380.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004591/0.2841, allocations: 12.47 kB / 380.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.2849, allocations: 417.1 kB / 381.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009144/0.2859, allocations: 418.9 kB / 381.7 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.2866, allocations: 308.2 kB / 382 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.288, allocations: 1.023 MB / 383 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.2885, allocations: 302.1 kB / 383.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005788/0.2891, allocations: 415.2 kB / 383.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.2897, allocations: 0.5057 MB / 384.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.2899, allocations: 97.69 kB / 384.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.2901, allocations: 129 kB / 384.5 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2903, allocations: 235.9 kB / 384.7 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.2906, allocations: 451.6 kB / 385.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.292, allocations: 1.277 MB / 386.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2921, allocations: 0 / 386.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2921, allocations: 1.031 kB / 386.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.365e-05/0.2921, allocations: 0 / 386.4 MB, free: 7.578 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002358/0.2945, allocations: 1.203 MB / 387.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2945, allocations: 10.95 kB / 387.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.2946, allocations: 100 kB / 387.7 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.2948, allocations: 99.78 kB / 387.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008675/0.2957, allocations: 0.557 MB / 388.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.2957, allocations: 46.55 kB / 388.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-05/0.2958, allocations: 62.62 kB / 388.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.297, allocations: 0.6442 MB / 389.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.2971, allocations: 1.125 kB / 389.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.2971, allocations: 25.16 kB / 389.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.2972, allocations: 15.41 kB / 389.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.2984, allocations: 0.5568 MB / 389.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.3023, allocations: 2.538 MB / 392.3 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000933/0.3032, allocations: 479.8 kB / 392.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/0.304, allocations: 304 kB / 393 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.3041, allocations: 14.17 kB / 393.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.3041, allocations: 39.72 kB / 393.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.3041, allocations: 0 / 393.1 MB, free: 3.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.005042/0.3092, allocations: 1.488 MB / 394.6 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3093, allocations: 59.03 kB / 394.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3109, allocations: 0.9462 MB / 395.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.3109, allocations: 36.36 kB / 395.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.3113, allocations: 405.9 kB / 396 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.3115, allocations: 205.8 kB / 396.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.3117, allocations: 118.7 kB / 396.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.3118, allocations: 331.6 kB / 396.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/0.3125, allocations: 245.2 kB / 396.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.3132, allocations: 347.1 kB / 397.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.3144, allocations: 0.57 MB / 397.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3144, allocations: 4 kB / 397.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001733/0.3162, allocations: 0.7271 MB / 398.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.3162, allocations: 10.81 kB / 398.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3162, allocations: 1.375 kB / 398.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.3163, allocations: 5.5 kB / 398.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.3171, allocations: 171.1 kB / 398.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.3171, allocations: 5.5 kB / 398.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/0.3177, allocations: 47.86 kB / 398.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.3178, allocations: 24.22 kB / 398.8 MB, free: 0.875 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0004259/0.3182, allocations: 263.4 kB / 399.1 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3184, allocations: 87.05 kB / 399.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.3199, allocations: 0.632 MB / 399.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3199, allocations: 5.594 kB / 399.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3199, allocations: 5.031 kB / 399.8 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.3199, allocations: 3.047 kB / 399.8 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.3231, allocations: 1.798 MB / 401.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.3231, allocations: 6.938 kB / 401.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.3237, allocations: 136.8 kB / 401.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.3238, allocations: 9.422 kB / 401.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.3238, allocations: 14.5 kB / 401.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.3238, allocations: 5.5 kB / 401.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3238, allocations: 6.125 kB / 401.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3254, allocations: 0.7436 MB / 402.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.3258, allocations: 206.1 kB / 402.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.3259, allocations: 14.09 kB / 402.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.3263, allocations: 38.97 kB / 402.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3264, allocations: 43.56 kB / 402.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.3265, allocations: 22.28 kB / 402.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009998/0.3275, allocations: 0.6809 MB / 403.5 MB, free: 14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3275, allocations: 0 / 403.5 MB, free: 14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007291/0.3282, allocations: 158.4 kB / 403.7 MB, free: 13.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.002377/0.3306, allocations: 1.558 MB / 405.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3322, allocations: 0.5824 MB / 405.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3322, allocations: 0 / 405.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006362/0.3328, allocations: 300.5 kB / 406.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/0.3336, allocations: 128.3 kB / 406.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.3439, allocations: 6.481 MB / 412.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.3445, allocations: 0.9592 MB / 413.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004533/0.345, allocations: 94.61 kB / 413.7 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.3454, allocations: 291.3 kB / 414 MB, free: 6.75 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3454, allocations: 3.938 kB / 414 MB, free: 6.746 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03982/0.3853, allocations: 15.73 MB / 429.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.389/9.775, allocations: 3.938 kB / 429.8 MB, free: 6.957 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches