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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 96.31 kB / 16.3 MB, free: 5.539 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.001422/0.001422, allocations: 180.9 kB / 17.19 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002266/0.0002266, allocations: 7.938 kB / 300.7 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08723, allocations: 50.41 MB / 351.1 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003996/0.09125, allocations: 3.724 MB / 354.9 MB, free: 72 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.0935, allocations: 1.712 MB / 356.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.09373, allocations: 8 kB / 356.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.09428, allocations: 386.7 kB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006105/0.0949, allocations: 426.8 kB / 357.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.09536, allocations: 214.8 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006552/0.09603, allocations: 0.6281 MB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.09634, allocations: 227.8 kB / 358.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.09668, allocations: 338.9 kB / 358.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.09711, allocations: 402.5 kB / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.0972, allocations: 39.98 kB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.09733, allocations: 51.98 kB / 359.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.09749, allocations: 171.3 kB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.09762, allocations: 173.3 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007702/0.0984, allocations: 0.9897 MB / 360.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09841, allocations: 0 / 360.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.09842, allocations: 3.938 kB / 360.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.09843, allocations: 0 / 360.6 MB, free: 10.32 MB / 302.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.001947/0.1004, allocations: 1.086 MB / 361.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1004, allocations: 8.031 kB / 361.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1006, allocations: 102.8 kB / 361.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008819/0.1015, allocations: 0.5193 MB / 362.3 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1016, allocations: 49.31 kB / 362.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.1017, allocations: 63.98 kB / 362.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.1029, allocations: 0.6635 MB / 363.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.1029, allocations: 3.984 kB / 363.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.103, allocations: 20 kB / 363.1 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.103, allocations: 16 kB / 363.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.1043, allocations: 0.5907 MB / 363.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.1079, allocations: 2.568 MB / 366.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.1089, allocations: 490.6 kB / 366.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.1089, allocations: 8.422 kB / 366.8 MB, free: 3.891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1089, allocations: 43 kB / 366.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 1.834e-06/0.109, allocations: 0 / 366.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=60): time 0.004311/0.1133, allocations: 1.629 MB / 368.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1133, allocations: 59.97 kB / 368.5 MB, free: 2.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009761/0.1143, allocations: 0.9457 MB / 369.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.1144, allocations: 41.7 kB / 369.5 MB, free: 1.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.1146, allocations: 404 kB / 369.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1148, allocations: 197.1 kB / 370.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1148, allocations: 16 kB / 370.1 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1149, allocations: 333.9 kB / 370.4 MB, free: 200 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.15/0.2649, allocations: 255.3 kB / 370.6 MB, free: 23.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008594/0.2658, allocations: 357.2 kB / 371 MB, free: 23.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.2665, allocations: 296.9 kB / 371.3 MB, free: 23.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2665, allocations: 0.8438 kB / 371.3 MB, free: 23.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001662/0.2682, allocations: 0.7636 MB / 372.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.2682, allocations: 6.438 kB / 372.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2682, allocations: 3.312 kB / 372.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-05/0.2683, allocations: 5.406 kB / 372.1 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/0.2691, allocations: 178.6 kB / 372.2 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.2691, allocations: 6.766 kB / 372.2 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/0.2696, allocations: 54.33 kB / 372.3 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.2697, allocations: 26.23 kB / 372.3 MB, free: 23.7 MB / 302.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_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 (82): * Single equations (assignments): 82 * 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.0003241/0.27, allocations: 276 kB / 372.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2701, allocations: 81.25 kB / 372.7 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.2717, allocations: 0.6587 MB / 373.3 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2717, allocations: 6.656 kB / 373.3 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.2717, allocations: 3.75 kB / 373.3 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.2717, allocations: 2.531 kB / 373.3 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.2744, allocations: 1.815 MB / 375.2 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2745, allocations: 2.75 kB / 375.2 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.275, allocations: 138.4 kB / 375.3 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.2751, allocations: 5.609 kB / 375.3 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.2751, allocations: 14.48 kB / 375.3 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.2751, allocations: 11.61 kB / 375.3 MB, free: 22.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2751, allocations: 1.375 kB / 375.3 MB, free: 22.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.2764, allocations: 0.8625 MB / 376.2 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.2767, allocations: 203.4 kB / 376.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.2768, allocations: 13.75 kB / 376.4 MB, free: 21.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.2772, allocations: 50.44 kB / 376.5 MB, free: 21.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/0.2773, allocations: 41.27 kB / 376.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.2773, allocations: 23.67 kB / 376.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007875/0.2781, allocations: 0.6843 MB / 377.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2781, allocations: 0 / 377.2 MB, free: 21.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005927/0.2787, allocations: 158.6 kB / 377.4 MB, free: 21.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 60 * 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.0008284/0.2796, allocations: 378 kB / 377.7 MB, free: 21.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.281, allocations: 0.6145 MB / 378.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.281, allocations: 1.062 kB / 378.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.2816, allocations: 309 kB / 378.6 MB, free: 21.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005657/0.2822, allocations: 104.8 kB / 378.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.2847, allocations: 1.844 MB / 380.6 MB, free: 20.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.2852, allocations: 0.9762 MB / 381.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004191/0.2856, allocations: 94.73 kB / 381.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.2858, allocations: 56.09 kB / 381.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2858, allocations: 0 / 381.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of Templates: time 0.0117/0.2975, allocations: 6.816 MB / 388.5 MB, free: 17.21 MB / 302.1 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