Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=160000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=160000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001427, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 205.8 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.451/1.451, allocations: 230.4 MB / 250 MB, free: 9.043 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.83 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2432, allocations: 53.31 MB / 420.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00659/0.2498, allocations: 4.692 MB / 425.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.2532, allocations: 1.987 MB / 427.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.2535, allocations: 8 kB / 427.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007778/0.2543, allocations: 430.2 kB / 427.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009107/0.2552, allocations: 473.5 kB / 428.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.2559, allocations: 327.4 kB / 428.5 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.257, allocations: 1.028 MB / 429.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.2574, allocations: 214.6 kB / 429.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.2579, allocations: 422.6 kB / 430.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006318/0.2586, allocations: 0.5411 MB / 430.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.2587, allocations: 96 kB / 430.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.2589, allocations: 136 kB / 431 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.2591, allocations: 239.1 kB / 431.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004246/0.2596, allocations: 469.5 kB / 431.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.261, allocations: 1.296 MB / 432.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.261, allocations: 3.984 kB / 432.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.261, allocations: 0 / 432.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.261, allocations: 0 / 432.9 MB, free: 12.04 MB / 350.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.002246/0.2632, allocations: 1.233 MB / 434.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2633, allocations: 16.02 kB / 434.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005135/0.2638, allocations: 124.3 kB / 434.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.2648, allocations: 0.5835 MB / 434.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.2648, allocations: 49.31 kB / 434.9 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.2649, allocations: 56 kB / 435 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.2661, allocations: 0.6362 MB / 435.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.2661, allocations: 8 kB / 435.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.2662, allocations: 23.98 kB / 435.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.2662, allocations: 16 kB / 435.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.2674, allocations: 0.5243 MB / 436.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.2713, allocations: 2.541 MB / 438.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.2723, allocations: 444.4 kB / 439.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.2729, allocations: 271.3 kB / 439.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.273, allocations: 8.422 kB / 439.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.273, allocations: 42.98 kB / 439.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.344e-06/0.273, allocations: 0 / 439.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004408/0.2774, allocations: 1.459 MB / 441 MB, free: 3.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.2775, allocations: 59.97 kB / 441 MB, free: 3.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.2787, allocations: 0.9654 MB / 442 MB, free: 2.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.2788, allocations: 37.7 kB / 442 MB, free: 2.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.2791, allocations: 416.7 kB / 442.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.2793, allocations: 230.1 kB / 442.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.2796, allocations: 118.6 kB / 442.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2797, allocations: 330 kB / 443.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.2803, allocations: 229.9 kB / 443.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.2809, allocations: 323.1 kB / 443.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.282, allocations: 0.5557 MB / 444.2 MB, free: 428 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.282, allocations: 0 / 444.2 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001541/0.2836, allocations: 0.7113 MB / 444.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.2836, allocations: 8 kB / 444.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2836, allocations: 4 kB / 444.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.2836, allocations: 4 kB / 444.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/0.2844, allocations: 168 kB / 445.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.2844, allocations: 15.94 kB / 445.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.285, allocations: 27.97 kB / 445.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.285, allocations: 28 kB / 445.1 MB, free: 15.45 MB / 366.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.0004199/0.2854, allocations: 269.6 kB / 445.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.2856, allocations: 87.44 kB / 445.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.287, allocations: 0.6126 MB / 446.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.287, allocations: 7.984 kB / 446.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.287, allocations: 0 / 446.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.287, allocations: 3.984 kB / 446.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/0.29, allocations: 1.792 MB / 447.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.29, allocations: 0 / 447.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.2905, allocations: 135.7 kB / 448 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.2906, allocations: 4 kB / 448 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.2906, allocations: 16.31 kB / 448.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.2906, allocations: 11.94 kB / 448.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.2906, allocations: 4 kB / 448.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.2919, allocations: 0.7242 MB / 448.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.2921, allocations: 216.5 kB / 449 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-05/0.2922, allocations: 16 kB / 449 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004116/0.2926, allocations: 27.97 kB / 449.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2928, allocations: 40.33 kB / 449.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.2928, allocations: 27.98 kB / 449.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009269/0.2937, allocations: 0.7021 MB / 449.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2937, allocations: 7.938 kB / 449.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006084/0.2943, allocations: 156 kB / 450 MB, free: 10.4 MB / 366.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.001342/0.2957, allocations: 370.6 kB / 450.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2969, allocations: 0.5262 MB / 450.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2969, allocations: 0.5625 kB / 450.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.2974, allocations: 258.3 kB / 451.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.2982, allocations: 140.7 kB / 451.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.3007, allocations: 1.607 MB / 452.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.3014, allocations: 0.9669 MB / 453.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003778/0.3017, allocations: 101.2 kB / 453.9 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.3019, allocations: 59.42 kB / 454 MB, free: 6.422 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3019, allocations: 0 / 454 MB, free: 6.422 MB / 366.1 MB Notification: Performance of Templates: time 0.01616/0.3181, allocations: 8.165 MB / 462.2 MB, free: 14.36 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches