Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_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.001392/0.001392, allocations: 105.7 kB / 17.06 MB, free: 6.027 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.001433/0.001433, allocations: 196 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 47.92 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2915, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006737/0.2983, allocations: 4.576 MB / 404.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003525/0.3019, allocations: 1.8 MB / 406.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006978/0.3026, allocations: 11.94 kB / 406.6 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.3036, allocations: 426.2 kB / 407 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.3049, allocations: 405.7 kB / 407.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009039/0.3058, allocations: 330.8 kB / 407.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.3072, allocations: 1.016 MB / 408.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005166/0.3078, allocations: 300.2 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006024/0.3084, allocations: 414.7 kB / 409.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.3091, allocations: 0.5021 MB / 410 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.3093, allocations: 96 kB / 410.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.3096, allocations: 132 kB / 410.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.3098, allocations: 235.2 kB / 410.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000521/0.3104, allocations: 461.6 kB / 410.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.3117, allocations: 1.265 MB / 412.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3117, allocations: 4 kB / 412.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3117, allocations: 0 / 412.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.3118, allocations: 0 / 412.1 MB, free: 12.86 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002676/0.3145, allocations: 1.199 MB / 413.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3145, allocations: 8.031 kB / 413.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.3147, allocations: 102.7 kB / 413.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.3149, allocations: 99.72 kB / 413.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009407/0.3158, allocations: 0.5591 MB / 414.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.3159, allocations: 49.69 kB / 414.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.316, allocations: 63.84 kB / 414.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3173, allocations: 0.6441 MB / 414.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.3173, allocations: 4 kB / 414.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.3174, allocations: 24 kB / 414.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.3174, allocations: 16 kB / 414.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.3187, allocations: 0.5594 MB / 415.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003906/0.3226, allocations: 2.521 MB / 418 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009519/0.3236, allocations: 478.5 kB / 418.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.3243, allocations: 303.6 kB / 418.7 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.466e-05/0.3244, allocations: 16.36 kB / 418.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3244, allocations: 38.98 kB / 418.8 MB, free: 5.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.565e-06/0.3245, allocations: 4 kB / 418.8 MB, free: 5.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004621/0.3291, allocations: 1.496 MB / 420.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3292, allocations: 59.97 kB / 420.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.3303, allocations: 0.9418 MB / 421.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.3304, allocations: 33.7 kB / 421.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.3307, allocations: 400 kB / 421.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.3309, allocations: 209 kB / 421.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.3311, allocations: 114.6 kB / 422 MB, free: 2.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3312, allocations: 334 kB / 422.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006388/0.3319, allocations: 241.9 kB / 422.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007038/0.3326, allocations: 343.1 kB / 422.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.3338, allocations: 0.5713 MB / 423.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.3339, allocations: 4 kB / 423.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001696/0.3356, allocations: 0.7305 MB / 424.2 MB, free: 372 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3356, allocations: 8 kB / 424.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3356, allocations: 4 kB / 424.3 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.3357, allocations: 4 kB / 424.3 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/0.3364, allocations: 175.9 kB / 424.4 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.3365, allocations: 4 kB / 424.4 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.3371, allocations: 43.88 kB / 424.5 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.3372, allocations: 23.98 kB / 424.5 MB, free: 108 kB / 334.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.0004388/0.3376, allocations: 269.6 kB / 424.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.3378, allocations: 83 kB / 424.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.3394, allocations: 0.6319 MB / 425.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3394, allocations: 4 kB / 425.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3394, allocations: 4 kB / 425.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3395, allocations: 4 kB / 425.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/0.3427, allocations: 1.807 MB / 427.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.3428, allocations: 4 kB / 427.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.3434, allocations: 131.8 kB / 427.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.3434, allocations: 8 kB / 427.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.3434, allocations: 12 kB / 427.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.3434, allocations: 4 kB / 427.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.3435, allocations: 7.938 kB / 427.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.345, allocations: 0.7472 MB / 428.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.3454, allocations: 212 kB / 428.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.3455, allocations: 12 kB / 428.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.3459, allocations: 43.89 kB / 428.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.346, allocations: 44.33 kB / 428.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.3461, allocations: 16 kB / 428.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008724/0.347, allocations: 0.6904 MB / 429.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.347, allocations: 0 / 429.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000611/0.3476, allocations: 152 kB / 429.4 MB, free: 11.04 MB / 350.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.00263/0.3502, allocations: 1.558 MB / 430.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3517, allocations: 0.581 MB / 431.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.3517, allocations: 4 kB / 431.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006425/0.3524, allocations: 295.2 kB / 431.8 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.3533, allocations: 138.6 kB / 431.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.3636, allocations: 6.47 MB / 438.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.3642, allocations: 0.9592 MB / 439.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004362/0.3647, allocations: 97.05 kB / 439.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.3651, allocations: 291.3 kB / 439.7 MB, free: 472 kB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3651, allocations: 4 kB / 439.7 MB, free: 468 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.4072, allocations: 15.73 MB / 455.5 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.356/9.764, allocations: 3.562 kB / 455.5 MB, free: 0.9688 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches