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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 178.6 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.3 MB / 241 MB, free: 10.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009335, allocations: 89.25 kB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002719, allocations: 11.94 kB / 351.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2086, allocations: 50.39 MB / 402.2 MB, free: 32.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003057/0.2117, allocations: 3.972 MB / 406.2 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.2135, allocations: 1.688 MB / 407.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2137, allocations: 8 kB / 407.9 MB, free: 26.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.2141, allocations: 394.7 kB / 408.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.2146, allocations: 376.3 kB / 408.6 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.215, allocations: 215.6 kB / 408.8 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.2155, allocations: 0.8993 MB / 409.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.2157, allocations: 219.9 kB / 410 MB, free: 24.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.216, allocations: 322.8 kB / 410.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.2163, allocations: 430.4 kB / 410.7 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.593e-05/0.2163, allocations: 36 kB / 410.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.2165, allocations: 59.98 kB / 410.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.2166, allocations: 163.3 kB / 410.9 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.2167, allocations: 181.3 kB / 411.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.2172, allocations: 0.987 MB / 412.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2172, allocations: 0 / 412.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2172, allocations: 0 / 412.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2172, allocations: 0 / 412.1 MB, free: 22.64 MB / 298.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.001524/0.2187, allocations: 1.098 MB / 413.2 MB, free: 21.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2188, allocations: 8.031 kB / 413.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.2189, allocations: 98.78 kB / 413.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.2194, allocations: 0.5193 MB / 413.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.545e-05/0.2195, allocations: 53.31 kB / 413.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.843e-05/0.2196, allocations: 56 kB / 413.9 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.2206, allocations: 0.6674 MB / 414.6 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2206, allocations: 3.953 kB / 414.6 MB, free: 20.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.2207, allocations: 24 kB / 414.6 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2207, allocations: 16 kB / 414.6 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.2217, allocations: 0.5907 MB / 415.2 MB, free: 19.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.2243, allocations: 2.56 MB / 417.8 MB, free: 16.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.2251, allocations: 479.4 kB / 418.3 MB, free: 16.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.2256, allocations: 310.3 kB / 418.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.2257, allocations: 20.34 kB / 418.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2257, allocations: 39 kB / 418.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.744e-06/0.2257, allocations: 0 / 418.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003685/0.2294, allocations: 1.652 MB / 420.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.2294, allocations: 59.97 kB / 420.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.2301, allocations: 0.9379 MB / 421.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.2302, allocations: 37.7 kB / 421.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.2304, allocations: 408 kB / 421.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.2305, allocations: 201.1 kB / 421.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.2305, allocations: 16 kB / 421.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.2305, allocations: 333.9 kB / 422.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.2311, allocations: 261.9 kB / 422.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.2316, allocations: 375 kB / 422.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.2322, allocations: 291.1 kB / 423.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2322, allocations: 0 / 423.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001224/0.2334, allocations: 0.7735 MB / 423.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2334, allocations: 8 kB / 423.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2334, allocations: 0 / 423.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2335, allocations: 11.98 kB / 423.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.2341, allocations: 179.8 kB / 424.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2341, allocations: 4 kB / 424.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.2346, allocations: 55.95 kB / 424.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.2346, allocations: 23.98 kB / 424.2 MB, free: 10.2 MB / 298.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 (83): * Single equations (assignments): 83 * 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.0002347/0.2349, allocations: 273.6 kB / 424.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.235, allocations: 79.06 kB / 424.5 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.2361, allocations: 0.667 MB / 425.2 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2362, allocations: 4 kB / 425.2 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2362, allocations: 0 / 425.2 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2362, allocations: 3.984 kB / 425.2 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.2383, allocations: 1.875 MB / 427.1 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2383, allocations: 4 kB / 427.1 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.2388, allocations: 139.8 kB / 427.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2389, allocations: 4 kB / 427.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.2389, allocations: 24.2 kB / 427.3 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2389, allocations: 4 kB / 427.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2389, allocations: 4 kB / 427.3 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2399, allocations: 0.7771 MB / 428 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.2401, allocations: 204.1 kB / 428.2 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.2402, allocations: 16 kB / 428.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.2406, allocations: 51.95 kB / 428.3 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.2407, allocations: 44.33 kB / 428.4 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.2407, allocations: 19.98 kB / 428.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005438/0.2413, allocations: 0.6903 MB / 429.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2413, allocations: 0 / 429.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004079/0.2417, allocations: 148 kB / 429.2 MB, free: 4.98 MB / 298.7 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 (61): * Single equations (assignments): 61 * 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.0006044/0.2423, allocations: 385.2 kB / 429.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.2434, allocations: 0.6125 MB / 430.2 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2434, allocations: 4 kB / 430.2 MB, free: 4.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.2439, allocations: 311 kB / 430.5 MB, free: 3.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.2446, allocations: 125.7 kB / 430.6 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.2465, allocations: 1.915 MB / 432.5 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2467, allocations: 0.9594 MB / 433.5 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.2469, allocations: 63.41 kB / 433.6 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2469, allocations: 4 kB / 433.6 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of Templates: time 0.01095/0.2579, allocations: 9.707 MB / 443.3 MB, free: 6.977 MB / 314.7 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/jenkins1/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