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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009601/0.0009601, allocations: 93.92 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.752e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09109, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.291/0.3821, allocations: 86.88 MB / 456.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.3824, allocations: 84.02 kB / 457 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04139/0.4238, allocations: 15.85 MB / 472.8 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4239, allocations: 4 kB / 472.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.403e-05/0.4239, allocations: 23.94 kB / 472.9 MB, free: 8.008 MB / 346.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.001613/0.4255, allocations: 0.9657 MB / 473.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.4256, allocations: 15.97 kB / 473.8 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.4258, allocations: 90.88 kB / 473.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008264/0.4266, allocations: 0.5356 MB / 474.5 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.4267, allocations: 49.31 kB / 474.5 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.645e-05/0.4268, allocations: 60 kB / 474.6 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4278, allocations: 0.609 MB / 475.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.4279, allocations: 0 / 475.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.4279, allocations: 24 kB / 475.2 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.428, allocations: 16 kB / 475.2 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.4288, allocations: 0.4971 MB / 475.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.4325, allocations: 2.655 MB / 478.4 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.4332, allocations: 464.4 kB / 478.8 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.4337, allocations: 274.4 kB / 479.1 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.4337, allocations: 12.44 kB / 479.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.4338, allocations: 35 kB / 479.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.324e-06/0.4338, allocations: 0 / 479.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.003449/0.4372, allocations: 1.375 MB / 480.5 MB, free: 72 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.4373, allocations: 59.97 kB / 480.6 MB, free: 0 / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4383, allocations: 0.8357 MB / 481.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.4384, allocations: 33.7 kB / 481.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.4386, allocations: 404 kB / 481.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.4388, allocations: 216.8 kB / 482 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4388, allocations: 19.94 kB / 482.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.439, allocations: 334 kB / 482.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.4393, allocations: 209.5 kB / 482.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.4397, allocations: 301.1 kB / 482.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.4401, allocations: 242.1 kB / 483.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4401, allocations: 0 / 483.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00101/0.4411, allocations: 0.6671 MB / 483.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4412, allocations: 11.44 kB / 483.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4412, allocations: 4 kB / 483.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.4412, allocations: 7.953 kB / 483.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.442, allocations: 200 kB / 484 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.4421, allocations: 4 kB / 484 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.4427, allocations: 59.95 kB / 484.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.4427, allocations: 31.98 kB / 484.1 MB, free: 12.4 MB / 362.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.0001527/0.4429, allocations: 136.9 kB / 484.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4431, allocations: 90.84 kB / 484.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4441, allocations: 0.5699 MB / 484.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.4441, allocations: 4 kB / 484.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4441, allocations: 3.953 kB / 484.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.4441, allocations: 7.984 kB / 484.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.4467, allocations: 1.874 MB / 486.8 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.4467, allocations: 8.344 kB / 486.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.4473, allocations: 151.8 kB / 486.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.4473, allocations: 8 kB / 487 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.4474, allocations: 19.94 kB / 487 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.4474, allocations: 8 kB / 487 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4474, allocations: 0 / 487 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.4483, allocations: 0.8214 MB / 487.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.4487, allocations: 240 kB / 488 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.335e-05/0.4488, allocations: 19.98 kB / 488.1 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.4492, allocations: 51.97 kB / 488.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4494, allocations: 56.39 kB / 488.2 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.4494, allocations: 19.98 kB / 488.2 MB, free: 8.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008214/0.4502, allocations: 0.671 MB / 488.9 MB, free: 7.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4502, allocations: 3.938 kB / 488.9 MB, free: 7.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006055/0.4508, allocations: 180 kB / 489 MB, free: 7.195 MB / 362.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.0008149/0.4517, allocations: 357.4 kB / 489.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008892/0.4526, allocations: 0.5208 MB / 489.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4526, allocations: 0 / 489.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.453, allocations: 271 kB / 490.2 MB, free: 6.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.4536, allocations: 115.6 kB / 490.3 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4558, allocations: 1.201 MB / 491.5 MB, free: 4.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.4564, allocations: 0.9827 MB / 492.5 MB, free: 3.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004772/0.4569, allocations: 117 kB / 492.6 MB, free: 3.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.4571, allocations: 63.36 kB / 492.6 MB, free: 3.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.4571, allocations: 3.938 kB / 492.6 MB, free: 3.496 MB / 362.7 MB Notification: Performance of Templates: time 0.01433/0.4714, allocations: 7.995 MB / 0.4889 GB, free: 11.48 MB / 378.7 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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches