Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001032/0.001038, allocations: 179.8 kB / 16.41 MB, free: 5.707 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.288/1.288, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0006863/0.0006864, allocations: 88 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002766, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2005, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.003516/0.204, allocations: 3.905 MB / 378.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2059, allocations: 1.643 MB / 380.1 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.2061, allocations: 18.16 kB / 380.1 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.2066, allocations: 395.5 kB / 380.5 MB, free: 40.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.2072, allocations: 365.9 kB / 380.9 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.2076, allocations: 203.7 kB / 381.1 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000706/0.2083, allocations: 0.8977 MB / 382 MB, free: 39.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.2086, allocations: 224.7 kB / 382.2 MB, free: 39.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.2089, allocations: 322.2 kB / 382.5 MB, free: 39.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.2093, allocations: 429.1 kB / 382.9 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.2093, allocations: 37.56 kB / 383 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.2095, allocations: 52.56 kB / 383 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2096, allocations: 172.7 kB / 383.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2098, allocations: 182.8 kB / 383.4 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.2104, allocations: 0.9875 MB / 384.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2104, allocations: 0 / 384.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2104, allocations: 5.156 kB / 384.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2104, allocations: 0 / 384.3 MB, free: 38.32 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.001748/0.2122, allocations: 1.091 MB / 385.4 MB, free: 37.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2122, allocations: 8.438 kB / 385.4 MB, free: 37.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.2123, allocations: 98.52 kB / 385.5 MB, free: 37.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006658/0.213, allocations: 0.5207 MB / 386.1 MB, free: 36.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-05/0.2131, allocations: 48.97 kB / 386.1 MB, free: 36.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.2132, allocations: 58.56 kB / 386.2 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2143, allocations: 0.6648 MB / 386.8 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2143, allocations: 0 / 386.8 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.2144, allocations: 24 kB / 386.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2144, allocations: 12 kB / 386.9 MB, free: 36.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2155, allocations: 0.5984 MB / 387.5 MB, free: 35.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.2183, allocations: 2.569 MB / 390 MB, free: 33.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.2191, allocations: 489.7 kB / 390.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/0.2197, allocations: 306.9 kB / 390.8 MB, free: 32.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.2197, allocations: 8.438 kB / 390.8 MB, free: 32.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2197, allocations: 39 kB / 390.9 MB, free: 32.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.593e-06/0.2197, allocations: 0 / 390.9 MB, free: 32.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003938/0.2237, allocations: 1.653 MB / 392.5 MB, free: 30.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2237, allocations: 59.97 kB / 392.6 MB, free: 30.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/0.2245, allocations: 0.9458 MB / 393.5 MB, free: 29.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2246, allocations: 33.7 kB / 393.6 MB, free: 29.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2248, allocations: 404 kB / 393.9 MB, free: 29.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/0.2249, allocations: 205 kB / 394.1 MB, free: 28.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.2249, allocations: 16 kB / 394.2 MB, free: 28.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.225, allocations: 333.9 kB / 394.5 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.2255, allocations: 261.9 kB / 394.7 MB, free: 28.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/0.2261, allocations: 367 kB / 395.1 MB, free: 27.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.2266, allocations: 291.1 kB / 395.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2266, allocations: 8 kB / 395.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001302/0.2279, allocations: 0.7658 MB / 396.2 MB, free: 26.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.228, allocations: 4 kB / 396.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.228, allocations: 4 kB / 396.2 MB, free: 26.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.228, allocations: 4 kB / 396.2 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.2287, allocations: 191.8 kB / 396.4 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2288, allocations: 8 kB / 396.4 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2293, allocations: 47.95 kB / 396.4 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.2293, allocations: 28 kB / 396.4 MB, free: 26.57 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.0002722/0.2296, allocations: 269.5 kB / 396.7 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.2297, allocations: 90.86 kB / 396.8 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.2309, allocations: 0.6671 MB / 397.5 MB, free: 25.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.231, allocations: 8 kB / 397.5 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.231, allocations: 0 / 397.5 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.231, allocations: 7.969 kB / 397.5 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.2332, allocations: 1.844 MB / 399.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2333, allocations: 4 kB / 399.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.2338, allocations: 144.1 kB / 399.5 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2338, allocations: 11.95 kB / 399.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.2338, allocations: 15.98 kB / 399.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2338, allocations: 4 kB / 399.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2339, allocations: 11.94 kB / 399.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.2349, allocations: 0.7733 MB / 400.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.2351, allocations: 208 kB / 400.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.2352, allocations: 23.83 kB / 400.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004231/0.2356, allocations: 47.97 kB / 400.6 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.2357, allocations: 40.38 kB / 400.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.2357, allocations: 20 kB / 400.6 MB, free: 22.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005749/0.2363, allocations: 0.6865 MB / 401.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2363, allocations: 0 / 401.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004936/0.2368, allocations: 156 kB / 401.4 MB, free: 21.36 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.0006299/0.2375, allocations: 378 kB / 401.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.2386, allocations: 0.6162 MB / 402.4 MB, free: 20.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2386, allocations: 0 / 402.4 MB, free: 20.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.2392, allocations: 307.3 kB / 402.7 MB, free: 20.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.2399, allocations: 131.3 kB / 402.9 MB, free: 19.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.2419, allocations: 1.907 MB / 404.8 MB, free: 18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2422, allocations: 0.9633 MB / 405.7 MB, free: 17.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.2424, allocations: 59.41 kB / 405.8 MB, free: 16.95 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2424, allocations: 3.938 kB / 405.8 MB, free: 16.95 MB / 298.7 MB Notification: Performance of Templates: time 0.009756/0.2522, allocations: 9.702 MB / 415.5 MB, free: 7.23 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches