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: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001884/0.001884, allocations: 183 kB / 18.66 MB, free: 4.414 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.438/1.438, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001256/0.001256, allocations: 51.92 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08742, allocations: 46.61 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006165/0.09364, allocations: 4.51 MB / 379.7 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1992/0.2929, allocations: 1.73 MB / 381.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.2934, allocations: 13.53 kB / 381.4 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.2943, allocations: 430.3 kB / 381.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008502/0.2951, allocations: 416.7 kB / 382.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.2958, allocations: 309 kB / 382.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2972, allocations: 1.016 MB / 383.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004721/0.2977, allocations: 305.9 kB / 383.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.2982, allocations: 411.7 kB / 384.2 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006578/0.2988, allocations: 0.5092 MB / 384.8 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.299, allocations: 97.31 kB / 384.8 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.2993, allocations: 124.3 kB / 385 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.2995, allocations: 236 kB / 385.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.2999, allocations: 455.7 kB / 385.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.3016, allocations: 1.274 MB / 386.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3016, allocations: 0 / 386.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3016, allocations: 1.125 kB / 386.9 MB, free: 7.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.3016, allocations: 0 / 386.9 MB, free: 7.879 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.3037, allocations: 1.207 MB / 388.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3038, allocations: 10.38 kB / 388.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.304, allocations: 98.69 kB / 388.2 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.3049, allocations: 0.5487 MB / 388.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.3049, allocations: 46.28 kB / 388.8 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.305, allocations: 63.83 kB / 388.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.3063, allocations: 0.6451 MB / 389.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.3063, allocations: 5.094 kB / 389.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.3064, allocations: 24.78 kB / 389.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3064, allocations: 15.25 kB / 389.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.3077, allocations: 0.5514 MB / 390.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.3111, allocations: 2.552 MB / 392.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/0.3121, allocations: 472 kB / 393.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.3128, allocations: 304.3 kB / 393.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.3129, allocations: 10.42 kB / 393.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.3129, allocations: 42.38 kB / 393.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.3129, allocations: 0 / 393.5 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004444/0.3174, allocations: 1.488 MB / 395 MB, free: 3.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3174, allocations: 59.33 kB / 395 MB, free: 3.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3186, allocations: 0.9458 MB / 396 MB, free: 3.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.3186, allocations: 37.97 kB / 396 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.3189, allocations: 401.8 kB / 396.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.319, allocations: 204.7 kB / 396.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3192, allocations: 117.9 kB / 396.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.3193, allocations: 333.1 kB / 397.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/0.3199, allocations: 244.6 kB / 397.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.3206, allocations: 343.9 kB / 397.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.3218, allocations: 0.5655 MB / 398.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3218, allocations: 5.312 kB / 398.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001579/0.3234, allocations: 0.7264 MB / 398.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.3234, allocations: 9.438 kB / 398.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3234, allocations: 3.875 kB / 398.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.3235, allocations: 5.5 kB / 398.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.3242, allocations: 173.3 kB / 399.1 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3242, allocations: 9.438 kB / 399.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.3247, allocations: 45.3 kB / 399.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.3248, allocations: 26.36 kB / 399.2 MB, free: 1.25 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.0003064/0.3251, allocations: 264.2 kB / 399.4 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3252, allocations: 85 kB / 399.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.3268, allocations: 0.6319 MB / 400.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3268, allocations: 7.125 kB / 400.2 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.3268, allocations: 4 kB / 400.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.3268, allocations: 3.656 kB / 400.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.3298, allocations: 1.801 MB / 402 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3299, allocations: 7.25 kB / 402 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.3304, allocations: 136.2 kB / 402.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.3305, allocations: 5.719 kB / 402.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.3305, allocations: 17.48 kB / 402.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.3305, allocations: 5.375 kB / 402.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.3305, allocations: 6.188 kB / 402.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.332, allocations: 0.7471 MB / 402.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3322, allocations: 202.5 kB / 403.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.3323, allocations: 21.8 kB / 403.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.3328, allocations: 39.91 kB / 403.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3329, allocations: 39.56 kB / 403.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.3329, allocations: 22.34 kB / 403.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008268/0.3338, allocations: 0.6839 MB / 403.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3338, allocations: 0 / 403.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006038/0.3344, allocations: 149.8 kB / 404 MB, free: 14.29 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.0008994/0.3353, allocations: 371.7 kB / 404.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.3368, allocations: 0.5768 MB / 405 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.3368, allocations: 2.062 kB / 405 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006709/0.3375, allocations: 298.5 kB / 405.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.3383, allocations: 144.3 kB / 405.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.341, allocations: 1.568 MB / 407 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/0.3416, allocations: 0.9639 MB / 408 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000602/0.3422, allocations: 96.78 kB / 408 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.3425, allocations: 51.92 kB / 408.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3425, allocations: 0 / 408.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Templates: time 0.02372/0.3662, allocations: 7.789 MB / 415.9 MB, free: 5.648 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/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