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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 92.47 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.381e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09198, allocations: 50.41 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4284, allocations: 88.8 MB / 476.3 MB, free: 6.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4286, allocations: 87.95 kB / 476.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04287/0.4715, allocations: 16.13 MB / 492.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4716, allocations: 3.938 kB / 492.5 MB, free: 5.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.031e-05/0.4716, allocations: 16 kB / 492.5 MB, free: 5.758 MB / 362.7 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.001606/0.4732, allocations: 0.9696 MB / 493.5 MB, free: 4.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4733, allocations: 11.98 kB / 493.5 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.4734, allocations: 94.88 kB / 493.6 MB, free: 4.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.4742, allocations: 0.5426 MB / 494.1 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.4743, allocations: 41.92 kB / 494.2 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.4744, allocations: 36 kB / 494.2 MB, free: 3.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008557/0.4753, allocations: 470.5 kB / 494.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.4762, allocations: 0.5206 MB / 495.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4762, allocations: 0 / 495.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.4763, allocations: 0 / 495.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.4763, allocations: 16 kB / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.48, allocations: 2.532 MB / 497.7 MB, free: 308 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.4806, allocations: 435.6 kB / 498.1 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.4811, allocations: 256.5 kB / 498.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.4811, allocations: 8.5 kB / 498.4 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4812, allocations: 43 kB / 498.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.054e-06/0.4812, allocations: 0 / 498.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002048/0.4832, allocations: 0.9531 MB / 499.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.4833, allocations: 63.97 kB / 499.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009344/0.4842, allocations: 0.7456 MB / 0.4885 GB, free: 13.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.4843, allocations: 25.7 kB / 0.4885 GB, free: 13.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.4845, allocations: 403.6 kB / 0.4889 GB, free: 13.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.4847, allocations: 216.8 kB / 0.4891 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.4847, allocations: 0 / 0.4891 GB, free: 13.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4849, allocations: 390.7 kB / 0.4895 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.4852, allocations: 189.5 kB / 0.4897 GB, free: 12.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.4856, allocations: 291.5 kB / 0.4899 GB, free: 12.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.4859, allocations: 224.5 kB / 0.4901 GB, free: 12.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4859, allocations: 4 kB / 0.4902 GB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009586/0.4869, allocations: 0.6008 MB / 0.4907 GB, free: 11.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4869, allocations: 4.281 kB / 0.4907 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4869, allocations: 8 kB / 0.4907 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.487, allocations: 4 kB / 0.4908 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/0.4878, allocations: 195.7 kB / 0.4909 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4878, allocations: 11.94 kB / 0.491 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.4884, allocations: 47.95 kB / 0.491 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.4884, allocations: 27.98 kB / 0.491 GB, free: 11.11 MB / 378.7 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_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.4885, allocations: 114.9 kB / 0.4911 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.4887, allocations: 87.06 kB / 0.4912 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000894/0.4896, allocations: 0.5148 MB / 0.4917 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4896, allocations: 8 kB / 0.4917 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4896, allocations: 0 / 0.4917 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4896, allocations: 7.969 kB / 0.4917 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.492, allocations: 1.738 MB / 0.4934 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.492, allocations: 7.984 kB / 0.4934 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.4927, allocations: 152.1 kB / 0.4936 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.4927, allocations: 4 kB / 0.4936 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.4927, allocations: 8 kB / 0.4936 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.4927, allocations: 11.88 kB / 0.4936 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4927, allocations: 4 kB / 0.4936 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.4936, allocations: 0.7795 MB / 0.4944 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.4939, allocations: 243.9 kB / 0.4946 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.494, allocations: 4 kB / 0.4946 GB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.4944, allocations: 47.95 kB / 0.4947 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.4946, allocations: 40.5 kB / 0.4947 GB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.4946, allocations: 23.94 kB / 0.4947 GB, free: 7.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006886/0.4953, allocations: 0.5967 MB / 0.4953 GB, free: 6.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4953, allocations: 0 / 0.4953 GB, free: 6.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005781/0.4959, allocations: 152 kB / 0.4954 GB, free: 6.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007993/0.4967, allocations: 330.1 kB / 0.4958 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007958/0.4975, allocations: 486.2 kB / 0.4962 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4975, allocations: 0 / 0.4962 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.4979, allocations: 270.9 kB / 0.4965 GB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.4985, allocations: 88.66 kB / 0.4966 GB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.5007, allocations: 1.156 MB / 0.4977 GB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.5013, allocations: 0.9823 MB / 0.4987 GB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.5018, allocations: 112.8 kB / 0.4988 GB, free: 2.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.502, allocations: 55.36 kB / 0.4988 GB, free: 2.844 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.502, allocations: 0 / 0.4988 GB, free: 2.844 MB / 378.7 MB Notification: Performance of Templates: time 0.0135/0.5155, allocations: 6.959 MB / 0.5056 GB, free: 11.93 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (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 & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches