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.001385/0.001385, allocations: 110.6 kB / 17.73 MB, free: 5.301 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.001266/0.001266, allocations: 194.9 kB / 18.67 MB, free: 4.363 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.489/1.489, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001906/0.001906, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.102, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007808/0.1099, allocations: 4.513 MB / 379.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2158/0.3258, allocations: 1.737 MB / 380.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.3262, allocations: 12.25 kB / 380.9 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007938/0.327, allocations: 419.4 kB / 381.3 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008133/0.3279, allocations: 423.3 kB / 381.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007067/0.3286, allocations: 306.5 kB / 382 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.3301, allocations: 1.017 MB / 383 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.3306, allocations: 298.5 kB / 383.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.3313, allocations: 415 kB / 383.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006281/0.332, allocations: 0.5021 MB / 384.2 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.3321, allocations: 96.78 kB / 384.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.3324, allocations: 124.8 kB / 384.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.3326, allocations: 235.5 kB / 384.7 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.3329, allocations: 457.1 kB / 385.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.3343, allocations: 1.274 MB / 386.4 MB, free: 7.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3343, allocations: 6.75 kB / 386.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3343, allocations: 0 / 386.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.3344, allocations: 0 / 386.4 MB, free: 7.598 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.00214/0.3365, allocations: 1.231 MB / 387.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3366, allocations: 9.5 kB / 387.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.3367, allocations: 104 kB / 387.8 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.3369, allocations: 104.5 kB / 387.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008667/0.3377, allocations: 0.5596 MB / 388.4 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.3378, allocations: 48.75 kB / 388.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.83e-05/0.3379, allocations: 62.91 kB / 388.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3391, allocations: 0.6528 MB / 389.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.3391, allocations: 9.047 kB / 389.2 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.3392, allocations: 25.25 kB / 389.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.3392, allocations: 14.75 kB / 389.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3405, allocations: 0.5478 MB / 389.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.3439, allocations: 2.543 MB / 392.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.3449, allocations: 477.7 kB / 392.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.3456, allocations: 301.2 kB / 393.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.3457, allocations: 11.8 kB / 393.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3457, allocations: 45.06 kB / 393.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 3.226e-06/0.3457, allocations: 0 / 393.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004747/0.3505, allocations: 1.501 MB / 394.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3505, allocations: 59.14 kB / 394.7 MB, free: 3.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.352, allocations: 0.9465 MB / 395.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.3521, allocations: 36.08 kB / 395.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.3524, allocations: 407.4 kB / 396.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.3526, allocations: 217.5 kB / 396.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.3528, allocations: 118.7 kB / 396.4 MB, free: 2.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.353, allocations: 332.1 kB / 396.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/0.3536, allocations: 245.3 kB / 397 MB, free: 1.648 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/0.3542, allocations: 349.7 kB / 397.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.3554, allocations: 0.5607 MB / 397.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3554, allocations: 4 kB / 397.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001847/0.3573, allocations: 0.7307 MB / 398.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3573, allocations: 10.81 kB / 398.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3573, allocations: 1.375 kB / 398.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.3574, allocations: 5.5 kB / 398.6 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/0.3582, allocations: 172 kB / 398.8 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.3583, allocations: 9.438 kB / 398.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.3589, allocations: 43.78 kB / 398.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.359, allocations: 24.17 kB / 398.9 MB, free: 0.8242 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.0003985/0.3594, allocations: 264.8 kB / 399.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3595, allocations: 89.97 kB / 399.2 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.3609, allocations: 0.6327 MB / 399.8 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.3609, allocations: 5.594 kB / 399.9 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3609, allocations: 9.312 kB / 399.9 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3609, allocations: 3.938 kB / 399.9 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.3642, allocations: 1.809 MB / 401.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.3642, allocations: 6.062 kB / 401.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.3648, allocations: 133.1 kB / 401.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.3648, allocations: 4.938 kB / 401.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.3648, allocations: 14.34 kB / 401.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/0.3648, allocations: 12.67 kB / 401.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.3649, allocations: 2.531 kB / 401.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.3664, allocations: 0.7481 MB / 402.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.3667, allocations: 211.7 kB / 402.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.3668, allocations: 17.61 kB / 402.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.3673, allocations: 42.44 kB / 402.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.3674, allocations: 37.27 kB / 402.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.3674, allocations: 29.92 kB / 402.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008976/0.3683, allocations: 0.6841 MB / 403.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3683, allocations: 0 / 403.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006235/0.369, allocations: 149.9 kB / 403.8 MB, free: 13.89 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.003009/0.372, allocations: 1.562 MB / 405.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.3735, allocations: 0.5821 MB / 405.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3735, allocations: 4.5 kB / 405.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.3742, allocations: 296.1 kB / 406.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.3751, allocations: 137.1 kB / 406.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.3861, allocations: 6.501 MB / 412.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.3868, allocations: 0.9592 MB / 413.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004412/0.3873, allocations: 97.03 kB / 413.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.3877, allocations: 291.3 kB / 414.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3877, allocations: 0 / 414.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.4321, allocations: 15.51 MB / 429.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.716/10.15, allocations: 7.938 kB / 429.7 MB, free: 7.031 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