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.000965/0.000965, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00082/0.0008198, allocations: 90.7 kB / 262.5 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.412e-05/1.422e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08711, allocations: 47.58 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3298/0.417, allocations: 86.45 MB / 449.5 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/0.4174, allocations: 90.19 kB / 449.6 MB, free: 9.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04261/0.4601, allocations: 15.69 MB / 465.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4601, allocations: 0 / 465.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.346e-05/0.4602, allocations: 23.94 kB / 465.3 MB, free: 12.18 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.002197/0.4624, allocations: 0.9682 MB / 466.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4625, allocations: 8.031 kB / 466.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.4628, allocations: 94.88 kB / 466.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.4639, allocations: 0.5333 MB / 466.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.464, allocations: 29.31 kB / 467 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4642, allocations: 36 kB / 467 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009316/0.4651, allocations: 474.4 kB / 467.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.4661, allocations: 0.5249 MB / 468 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.4661, allocations: 0 / 468 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.4662, allocations: 0 / 468 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.4662, allocations: 16 kB / 468 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.4704, allocations: 2.543 MB / 470.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/0.471, allocations: 431.3 kB / 471 MB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.4715, allocations: 256.8 kB / 471.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.4716, allocations: 12.48 kB / 471.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.4716, allocations: 38.81 kB / 471.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 4.799e-06/0.4716, allocations: 0 / 471.3 MB, free: 7.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.002217/0.4739, allocations: 0.9531 MB / 472.2 MB, free: 6.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.4739, allocations: 55.97 kB / 472.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.475, allocations: 0.7582 MB / 473 MB, free: 5.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.475, allocations: 25.7 kB / 473.1 MB, free: 5.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.4753, allocations: 398 kB / 473.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.4755, allocations: 220.5 kB / 473.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.4755, allocations: 0 / 473.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4757, allocations: 384.1 kB / 474 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.4761, allocations: 192.9 kB / 474.2 MB, free: 5.039 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.4765, allocations: 289 kB / 474.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.4769, allocations: 232.1 kB / 474.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4769, allocations: 4 kB / 474.7 MB, free: 4.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009499/0.4778, allocations: 0.6039 MB / 475.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4779, allocations: 4 kB / 475.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4779, allocations: 4 kB / 475.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4779, allocations: 4 kB / 475.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.4788, allocations: 194.7 kB / 475.5 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.4788, allocations: 11.98 kB / 475.6 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/0.4795, allocations: 55.89 kB / 475.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.4795, allocations: 22.56 kB / 475.6 MB, free: 3.957 MB / 346.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.0001335/0.4797, allocations: 116.8 kB / 475.7 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.4798, allocations: 75.06 kB / 475.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.4808, allocations: 0.5193 MB / 476.3 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4809, allocations: 8 kB / 476.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4809, allocations: 3.984 kB / 476.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4809, allocations: 0 / 476.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.4838, allocations: 1.737 MB / 478.1 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4839, allocations: 4 kB / 478.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.4845, allocations: 155.7 kB / 478.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.4845, allocations: 4 kB / 478.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.4846, allocations: 11.17 kB / 478.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/0.4846, allocations: 8 kB / 478.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/0.4846, allocations: 7.938 kB / 478.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009945/0.4856, allocations: 0.7756 MB / 479.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.486, allocations: 234.6 kB / 479.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4861, allocations: 7.984 kB / 479.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.4866, allocations: 39.97 kB / 479.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.4867, allocations: 54.95 kB / 479.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.4868, allocations: 23.98 kB / 479.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000725/0.4875, allocations: 0.589 MB / 480 MB, free: 148 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4875, allocations: 0 / 480 MB, free: 148 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006999/0.4882, allocations: 155.9 kB / 480.1 MB, free: 15.99 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.0007815/0.489, allocations: 335.5 kB / 480.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008391/0.4898, allocations: 490.1 kB / 481 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4899, allocations: 0 / 481 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.4903, allocations: 255 kB / 481.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.491, allocations: 96.23 kB / 481.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.4937, allocations: 1.163 MB / 482.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.4943, allocations: 0.9861 MB / 483.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004936/0.4948, allocations: 112.8 kB / 483.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.4951, allocations: 55.41 kB / 483.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4951, allocations: 0 / 483.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Templates: time 0.01445/0.5095, allocations: 6.938 MB / 490.5 MB, free: 5.473 MB / 362.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