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.001397/0.001397, allocations: 109.3 kB / 17.06 MB, free: 5.941 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.001396/0.001396, allocations: 197.3 kB / 18.01 MB, free: 5.027 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.457/1.457, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 43.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3135, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007368/0.3209, allocations: 4.573 MB / 404.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.3245, allocations: 1.808 MB / 406.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.3249, allocations: 15.88 kB / 406.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008518/0.3258, allocations: 414.3 kB / 407 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009309/0.3268, allocations: 421.7 kB / 407.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000774/0.3276, allocations: 321.5 kB / 407.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3288, allocations: 1.024 MB / 408.8 MB, free: 224 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.3294, allocations: 302.5 kB / 409.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005139/0.3299, allocations: 402.7 kB / 409.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006214/0.3305, allocations: 0.5099 MB / 410 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.3307, allocations: 96 kB / 410.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.3309, allocations: 120 kB / 410.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.3312, allocations: 235.2 kB / 410.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004782/0.3317, allocations: 457.6 kB / 410.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.3332, allocations: 1.283 MB / 412.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3332, allocations: 0 / 412.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3333, allocations: 0 / 412.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3333, allocations: 0 / 412.1 MB, free: 12.83 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.002366/0.3356, allocations: 1.233 MB / 413.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3357, allocations: 8.031 kB / 413.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.3358, allocations: 106.7 kB / 413.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.336, allocations: 104.3 kB / 413.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000933/0.3369, allocations: 0.5479 MB / 414.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.337, allocations: 45.69 kB / 414.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3371, allocations: 67.92 kB / 414.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.3384, allocations: 0.6441 MB / 414.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.3385, allocations: 3.953 kB / 414.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.3385, allocations: 23.98 kB / 414.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3386, allocations: 16 kB / 414.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.3399, allocations: 0.5633 MB / 415.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/0.3439, allocations: 2.541 MB / 418 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000987/0.3449, allocations: 474.5 kB / 418.5 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007436/0.3457, allocations: 299.3 kB / 418.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.3457, allocations: 12.42 kB / 418.8 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3458, allocations: 39 kB / 418.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/0.3458, allocations: 0 / 418.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00469/0.3505, allocations: 1.505 MB / 420.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.3505, allocations: 59.97 kB / 420.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.3518, allocations: 0.9341 MB / 421.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.3518, allocations: 37.7 kB / 421.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.3522, allocations: 412.7 kB / 421.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.3524, allocations: 214.1 kB / 422 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.3526, allocations: 126.6 kB / 422.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3528, allocations: 330 kB / 422.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.3534, allocations: 241.9 kB / 422.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/0.3541, allocations: 347.1 kB / 423 MB, free: 1.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3554, allocations: 0.5635 MB / 423.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3554, allocations: 7.875 kB / 423.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001644/0.3571, allocations: 0.7386 MB / 424.3 MB, free: 268 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3571, allocations: 4 kB / 424.3 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3571, allocations: 4 kB / 424.3 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3571, allocations: 8.281 kB / 424.3 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.3579, allocations: 175.8 kB / 424.5 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3579, allocations: 4 kB / 424.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.3584, allocations: 39.95 kB / 424.6 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.3585, allocations: 28 kB / 424.6 MB, free: 4 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.0003884/0.3589, allocations: 269.6 kB / 424.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.359, allocations: 83.42 kB / 424.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3606, allocations: 0.6358 MB / 425.6 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3606, allocations: 8 kB / 425.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3606, allocations: 3.984 kB / 425.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3606, allocations: 3.984 kB / 425.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.3638, allocations: 1.799 MB / 427.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3638, allocations: 4 kB / 427.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.3644, allocations: 131.8 kB / 427.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.3644, allocations: 4 kB / 427.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.3644, allocations: 16.31 kB / 427.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.3645, allocations: 11.98 kB / 427.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.3645, allocations: 7.938 kB / 427.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.3659, allocations: 0.7474 MB / 428.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.3662, allocations: 208.5 kB / 428.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.3663, allocations: 20 kB / 428.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.3668, allocations: 35.95 kB / 428.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.3669, allocations: 48.33 kB / 428.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.3669, allocations: 23.98 kB / 428.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008819/0.3678, allocations: 0.6826 MB / 429.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3678, allocations: 0 / 429.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000574/0.3684, allocations: 148 kB / 429.5 MB, free: 10.93 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.003029/0.3715, allocations: 1.569 MB / 431 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.373, allocations: 0.581 MB / 431.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3731, allocations: 0 / 431.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.3737, allocations: 299.2 kB / 431.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.3746, allocations: 145.3 kB / 432 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.3855, allocations: 6.5 MB / 438.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.3862, allocations: 0.9631 MB / 439.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004327/0.3867, allocations: 93.05 kB / 439.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004499/0.3871, allocations: 291.3 kB / 439.9 MB, free: 320 kB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3871, allocations: 4 kB / 439.9 MB, free: 316 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/0.4319, allocations: 15.51 MB / 455.4 MB, free: 1.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.652/10.08, allocations: 15 kB / 455.4 MB, free: 1.027 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