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.002076/0.002076, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.615/1.615, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.000813/0.0008131, allocations: 100.4 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002984, allocations: 8 kB / 328.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2511, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1022/0.3534, allocations: 86.97 MB / 462.8 MB, free: 9.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.3538, allocations: 87.95 kB / 462.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04152/0.3953, allocations: 15.86 MB / 478.7 MB, free: 9.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3954, allocations: 0 / 478.7 MB, free: 9.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.28e-05/0.3954, allocations: 23.94 kB / 478.8 MB, free: 9.66 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.001866/0.3973, allocations: 1.082 MB / 479.8 MB, free: 8.527 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3973, allocations: 8.031 kB / 479.9 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3975, allocations: 98.88 kB / 479.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.3983, allocations: 0.5278 MB / 480.5 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3984, allocations: 53.3 kB / 480.5 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.3985, allocations: 63.91 kB / 480.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3997, allocations: 0.6597 MB / 481.2 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3997, allocations: 7.938 kB / 481.3 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.3998, allocations: 27.98 kB / 481.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.3998, allocations: 19.94 kB / 481.3 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.4011, allocations: 0.6063 MB / 481.9 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.4051, allocations: 2.659 MB / 484.6 MB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.4061, allocations: 0.5081 MB / 485.1 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.4062, allocations: 8.5 kB / 485.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4062, allocations: 39 kB / 485.1 MB, free: 3.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.196e-06/0.4062, allocations: 0 / 485.1 MB, free: 3.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.004923/0.4112, allocations: 1.737 MB / 486.9 MB, free: 1.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.4112, allocations: 59.97 kB / 486.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.4125, allocations: 0.8512 MB / 487.8 MB, free: 368 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.4126, allocations: 45.64 kB / 487.8 MB, free: 316 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.4129, allocations: 396.1 kB / 488.2 MB, free: 15.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.4131, allocations: 224.8 kB / 488.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.4131, allocations: 12 kB / 488.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4133, allocations: 330 kB / 488.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.4139, allocations: 277.8 kB / 489 MB, free: 15.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.4146, allocations: 383.1 kB / 489.4 MB, free: 14.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/0.4153, allocations: 307.1 kB / 489.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4153, allocations: 0 / 489.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001585/0.4169, allocations: 0.8088 MB / 490.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.417, allocations: 4 kB / 490.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.417, allocations: 4 kB / 490.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.417, allocations: 4 kB / 490.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008303/0.4179, allocations: 195.8 kB / 490.7 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.4179, allocations: 11.89 kB / 490.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.4185, allocations: 59.95 kB / 490.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.4186, allocations: 27.98 kB / 490.8 MB, free: 13.27 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.000381/0.4189, allocations: 269.7 kB / 491.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4191, allocations: 82.97 kB / 491.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.4206, allocations: 0.7022 MB / 491.9 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4206, allocations: 4 kB / 491.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4206, allocations: 0 / 491.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.4206, allocations: 7.938 kB / 491.9 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.4236, allocations: 1.963 MB / 493.8 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4237, allocations: 4 kB / 493.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.4243, allocations: 143.8 kB / 494 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.4243, allocations: 8 kB / 494 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.4243, allocations: 15.98 kB / 494 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.4243, allocations: 12 kB / 494 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.4243, allocations: 15.89 kB / 494 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.4257, allocations: 0.9167 MB / 494.9 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.4261, allocations: 244 kB / 495.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.4262, allocations: 16 kB / 495.2 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.4267, allocations: 51.95 kB / 495.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.4268, allocations: 48.52 kB / 495.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.4268, allocations: 19.98 kB / 495.3 MB, free: 8.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008234/0.4276, allocations: 0.6825 MB / 496 MB, free: 7.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4276, allocations: 0 / 496 MB, free: 7.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005907/0.4282, allocations: 180 kB / 496.2 MB, free: 7.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 65 * 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.0008367/0.4291, allocations: 390.1 kB / 496.6 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.4304, allocations: 0.6484 MB / 497.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4304, allocations: 0 / 497.2 MB, free: 6.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006163/0.4311, allocations: 339.9 kB / 497.5 MB, free: 6.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.4317, allocations: 106.9 kB / 497.6 MB, free: 6.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.4344, allocations: 1.93 MB / 499.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.4349, allocations: 0.9836 MB / 0.4888 GB, free: 3.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004506/0.4354, allocations: 113 kB / 0.4889 GB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.4356, allocations: 63.36 kB / 0.489 GB, free: 3.02 MB / 378.7 MB Notification: Performance of SimCode: time 5.92e-07/0.4356, allocations: 3.938 kB / 0.489 GB, free: 3.016 MB / 378.7 MB Notification: Performance of Templates: time 0.1877/0.6233, allocations: 7.904 MB / 0.4967 GB, free: 105 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