Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 100.7 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 65.17 kB / 306.5 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08475/0.08595, allocations: 50.52 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006249/0.09224, allocations: 4.678 MB / 361.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.09537, allocations: 1.956 MB / 363.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.09573, allocations: 15.94 kB / 363.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.09646, allocations: 398.7 kB / 364 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008526/0.09736, allocations: 418.1 kB / 364.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.09798, allocations: 291.6 kB / 364.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.09901, allocations: 1.039 MB / 365.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.09941, allocations: 302.5 kB / 366 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.09988, allocations: 422.6 kB / 366.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005104/0.1004, allocations: 0.5177 MB / 367 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1005, allocations: 96 kB / 367.1 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1007, allocations: 128 kB / 367.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1009, allocations: 243.2 kB / 367.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.1013, allocations: 465.6 kB / 367.9 MB, free: 3.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1024, allocations: 1.297 MB / 369.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1024, allocations: 0 / 369.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1024, allocations: 0 / 369.2 MB, free: 2.164 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1024, allocations: 4 kB / 369.2 MB, free: 2.16 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002032/0.1044, allocations: 1.203 MB / 370.4 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1045, allocations: 8.031 kB / 370.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004641/0.105, allocations: 123.7 kB / 370.5 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/0.1057, allocations: 0.5712 MB / 371.1 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.1058, allocations: 53.25 kB / 371.1 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.979e-05/0.1059, allocations: 60 kB / 371.2 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.147/0.253, allocations: 0.6268 MB / 371.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.253, allocations: 1.844 kB / 371.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.2531, allocations: 23.78 kB / 371.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.2532, allocations: 20.33 kB / 371.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2544, allocations: 0.5272 MB / 372.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/0.2584, allocations: 2.549 MB / 374.9 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.2594, allocations: 474.9 kB / 375.4 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/0.2599, allocations: 275.2 kB / 375.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.846e-05/0.26, allocations: 15.22 kB / 375.7 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.26, allocations: 41.72 kB / 375.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.26, allocations: 0 / 375.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004128/0.2642, allocations: 1.438 MB / 377.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.2642, allocations: 62.12 kB / 377.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2654, allocations: 0.9672 MB / 378.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.2654, allocations: 37.05 kB / 378.2 MB, free: 17.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.2656, allocations: 412.5 kB / 378.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2658, allocations: 213.2 kB / 378.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.266, allocations: 123.7 kB / 379 MB, free: 16.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.266, allocations: 332.1 kB / 379.3 MB, free: 16.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005426/0.2666, allocations: 231.9 kB / 379.5 MB, free: 16.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.2672, allocations: 328.5 kB / 379.8 MB, free: 16.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2682, allocations: 0.543 MB / 380.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2682, allocations: 3.719 kB / 380.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001391/0.2696, allocations: 0.7148 MB / 381.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2696, allocations: 5.875 kB / 381.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2696, allocations: 2.75 kB / 381.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.2697, allocations: 5.5 kB / 381.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007648/0.2704, allocations: 171.9 kB / 381.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.2705, allocations: 5.922 kB / 381.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.2711, allocations: 35.47 kB / 381.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.2711, allocations: 26.75 kB / 381.3 MB, free: 15.45 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_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002886/0.2714, allocations: 270.3 kB / 381.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2715, allocations: 86.84 kB / 381.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.2728, allocations: 0.6117 MB / 382.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2728, allocations: 7.156 kB / 382.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2728, allocations: 0 / 382.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.2728, allocations: 3.609 kB / 382.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.2755, allocations: 1.794 MB / 384.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2755, allocations: 7.688 kB / 384.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.2761, allocations: 127 kB / 384.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.2762, allocations: 9.438 kB / 384.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.2762, allocations: 15.84 kB / 384.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.2762, allocations: 5.016 kB / 384.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.2762, allocations: 11.92 kB / 384.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.2774, allocations: 0.7241 MB / 385 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.2777, allocations: 211 kB / 385.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.2778, allocations: 14.38 kB / 385.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.2782, allocations: 29.38 kB / 385.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.2783, allocations: 50.2 kB / 385.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.2784, allocations: 19.92 kB / 385.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008787/0.2793, allocations: 0.7053 MB / 386 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2793, allocations: 0 / 386 MB, free: 12.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005717/0.2799, allocations: 155.1 kB / 386.2 MB, free: 12.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007651/0.2806, allocations: 368.7 kB / 386.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.2821, allocations: 0.5839 MB / 387.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2821, allocations: 1.219 kB / 387.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005264/0.2827, allocations: 278 kB / 387.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.2835, allocations: 141.6 kB / 387.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.2862, allocations: 1.92 MB / 389.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.2867, allocations: 0.967 MB / 390.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004792/0.2872, allocations: 103.1 kB / 390.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.2874, allocations: 57.31 kB / 390.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2874, allocations: 0 / 390.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of Templates: time 0.01253/0.3, allocations: 7.793 MB / 398.4 MB, free: 5.715 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches