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.001279/0.001279, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001144/0.001144, allocations: 187.1 kB / 18.66 MB, free: 4.441 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.402/1.402, 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.001495/0.001495, allocations: 48.34 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.103, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006198/0.1092, allocations: 4.513 MB / 379.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2016/0.3108, allocations: 1.739 MB / 380.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004223/0.3113, allocations: 11.84 kB / 380.9 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.3122, allocations: 424.5 kB / 381.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008311/0.313, allocations: 419.4 kB / 381.7 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.3137, allocations: 297.8 kB / 382 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.3151, allocations: 1.023 MB / 383 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005048/0.3156, allocations: 303.9 kB / 383.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.3162, allocations: 413.8 kB / 383.7 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.3168, allocations: 0.511 MB / 384.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.317, allocations: 97.03 kB / 384.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.3172, allocations: 124.6 kB / 384.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.3174, allocations: 232.2 kB / 384.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.3178, allocations: 458.5 kB / 385.1 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3193, allocations: 1.271 MB / 386.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3193, allocations: 1.312 kB / 386.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3193, allocations: 0 / 386.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.3193, allocations: 0 / 386.4 MB, free: 7.453 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.00224/0.3215, allocations: 1.207 MB / 387.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3216, allocations: 13.72 kB / 387.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.3217, allocations: 101.1 kB / 387.7 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.3219, allocations: 98.03 kB / 387.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.3229, allocations: 0.5558 MB / 388.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.3229, allocations: 47.44 kB / 388.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.323, allocations: 59.39 kB / 388.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.3243, allocations: 0.6478 MB / 389.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.3244, allocations: 1.156 kB / 389.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.3244, allocations: 24.97 kB / 389.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.3245, allocations: 18.17 kB / 389.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.3258, allocations: 0.5536 MB / 389.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003823/0.3296, allocations: 2.54 MB / 392.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3308, allocations: 479.7 kB / 392.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/0.3315, allocations: 304.5 kB / 393 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/0.3316, allocations: 7.25 kB / 393 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3316, allocations: 37.72 kB / 393.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.854e-06/0.3316, allocations: 0 / 393.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004518/0.3362, allocations: 1.49 MB / 394.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3362, allocations: 62.62 kB / 394.6 MB, free: 2.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.3374, allocations: 0.9431 MB / 395.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.3375, allocations: 39.92 kB / 395.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.3378, allocations: 405.4 kB / 396 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.3379, allocations: 208 kB / 396.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.3381, allocations: 119.2 kB / 396.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.3382, allocations: 332.1 kB / 396.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.3388, allocations: 245.6 kB / 396.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.3395, allocations: 342.7 kB / 397.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.3406, allocations: 0.5663 MB / 397.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3406, allocations: 4 kB / 397.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00143/0.3421, allocations: 0.7283 MB / 398.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3421, allocations: 10.81 kB / 398.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3421, allocations: 4.766 kB / 398.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3421, allocations: 4.125 kB / 398.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.3429, allocations: 170.5 kB / 398.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3429, allocations: 9.562 kB / 398.7 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.3435, allocations: 41.28 kB / 398.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.3435, allocations: 23.27 kB / 398.8 MB, free: 0.75 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.0003187/0.3438, allocations: 267.4 kB / 399 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.344, allocations: 85.19 kB / 399.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.3453, allocations: 0.6311 MB / 399.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.3453, allocations: 9.484 kB / 399.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3453, allocations: 0 / 399.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3453, allocations: 3 kB / 399.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.3483, allocations: 1.799 MB / 401.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3483, allocations: 10.16 kB / 401.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.3489, allocations: 136.3 kB / 401.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.3489, allocations: 8.969 kB / 401.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.3489, allocations: 11.69 kB / 401.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.3489, allocations: 8.547 kB / 401.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.349, allocations: 7.094 kB / 401.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.3502, allocations: 0.7461 MB / 402.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/0.3505, allocations: 203.5 kB / 402.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.576e-05/0.3506, allocations: 17.16 kB / 402.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.3511, allocations: 39.39 kB / 402.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.3512, allocations: 35.89 kB / 402.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.3512, allocations: 26.39 kB / 402.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008591/0.3521, allocations: 0.6837 MB / 403.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3521, allocations: 5.219 kB / 403.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005986/0.3527, allocations: 149.9 kB / 403.6 MB, free: 13.88 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.002289/0.355, allocations: 1.567 MB / 405.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.3564, allocations: 0.578 MB / 405.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3564, allocations: 0 / 405.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.357, allocations: 296.3 kB / 406.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007898/0.3578, allocations: 131.7 kB / 406.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.3682, allocations: 6.488 MB / 412.7 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.3688, allocations: 0.9592 MB / 413.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.3693, allocations: 94.61 kB / 413.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.3697, allocations: 291.3 kB / 414 MB, free: 6.629 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3697, allocations: 0 / 414 MB, free: 6.629 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.4066, allocations: 15.73 MB / 429.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.984/9.391, allocations: 8 kB / 429.8 MB, free: 6.832 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