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.0009984/0.0009984, allocations: 173.7 kB / 16.72 MB, free: 5.082 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.436/1.436, allocations: 205.4 MB / 222.9 MB, free: 9.039 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.0008459/0.000846, allocations: 92.98 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003341, allocations: 11.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2204, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004818/0.2253, allocations: 3.913 MB / 379 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.2289, allocations: 1.655 MB / 380.7 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.2297, allocations: 13.28 kB / 380.7 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.2307, allocations: 387.9 kB / 381.1 MB, free: 40.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.2319, allocations: 377.4 kB / 381.4 MB, free: 40.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.2327, allocations: 192.3 kB / 381.6 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.2341, allocations: 0.9115 MB / 382.5 MB, free: 39.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/0.2347, allocations: 248.5 kB / 382.8 MB, free: 39.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006755/0.2354, allocations: 325.3 kB / 383.1 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007901/0.2362, allocations: 413.5 kB / 383.5 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.2364, allocations: 41.31 kB / 383.5 MB, free: 39.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.2367, allocations: 69.25 kB / 383.6 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.2369, allocations: 168 kB / 383.8 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.2375, allocations: 393.1 kB / 384.1 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009713/0.2385, allocations: 0.9918 MB / 385.1 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2385, allocations: 0 / 385.1 MB, free: 38.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2385, allocations: 5.422 kB / 385.1 MB, free: 38.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.883e-05/0.2386, allocations: 0 / 385.1 MB, free: 38.14 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.002362/0.241, allocations: 1.082 MB / 386.2 MB, free: 37.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.241, allocations: 9.688 kB / 386.2 MB, free: 37.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2412, allocations: 94.44 kB / 386.3 MB, free: 37.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.2421, allocations: 0.5492 MB / 386.9 MB, free: 36.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.2422, allocations: 53.42 kB / 386.9 MB, free: 36.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2423, allocations: 71.3 kB / 387 MB, free: 36.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.2434, allocations: 0.6596 MB / 387.7 MB, free: 36.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.2435, allocations: 3.984 kB / 387.7 MB, free: 36.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.2435, allocations: 28 kB / 387.7 MB, free: 35.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2435, allocations: 15.94 kB / 387.7 MB, free: 35.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.2446, allocations: 0.5829 MB / 388.3 MB, free: 35.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.2476, allocations: 2.575 MB / 390.9 MB, free: 32.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.2484, allocations: 485.8 kB / 391.3 MB, free: 32.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.249, allocations: 306 kB / 391.6 MB, free: 31.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-05/0.249, allocations: 12.42 kB / 391.6 MB, free: 31.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2491, allocations: 38.94 kB / 391.7 MB, free: 31.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.2491, allocations: 0 / 391.7 MB, free: 31.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.00392/0.253, allocations: 1.653 MB / 393.3 MB, free: 30.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.2531, allocations: 55.97 kB / 393.4 MB, free: 30.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008899/0.254, allocations: 0.9457 MB / 394.3 MB, free: 29.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.254, allocations: 33.7 kB / 394.4 MB, free: 29.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.2542, allocations: 408 kB / 394.8 MB, free: 28.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2543, allocations: 209 kB / 395 MB, free: 28.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2544, allocations: 12 kB / 395 MB, free: 28.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.2544, allocations: 330 kB / 395.3 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.255, allocations: 265.9 kB / 395.6 MB, free: 27.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.2555, allocations: 363 kB / 395.9 MB, free: 27.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2566, allocations: 0.6026 MB / 396.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2566, allocations: 4 kB / 396.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00134/0.2579, allocations: 0.7657 MB / 397.3 MB, free: 26.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.258, allocations: 4 kB / 397.3 MB, free: 26.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.258, allocations: 4 kB / 397.3 MB, free: 26.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.258, allocations: 4 kB / 397.3 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.2588, allocations: 187.8 kB / 397.5 MB, free: 25.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.2588, allocations: 11.94 kB / 397.5 MB, free: 25.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.2593, allocations: 51.95 kB / 397.5 MB, free: 25.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.2594, allocations: 28 kB / 397.6 MB, free: 25.82 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.0003336/0.2597, allocations: 261.7 kB / 397.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.2598, allocations: 82.94 kB / 397.9 MB, free: 25.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2611, allocations: 0.6671 MB / 398.6 MB, free: 24.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.2611, allocations: 8 kB / 398.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2611, allocations: 3.938 kB / 398.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2611, allocations: 3.984 kB / 398.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.2635, allocations: 1.863 MB / 400.5 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2636, allocations: 0 / 400.5 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.2641, allocations: 144.2 kB / 400.6 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.2641, allocations: 4 kB / 400.6 MB, free: 22.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.2641, allocations: 12 kB / 400.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.2641, allocations: 15.88 kB / 400.6 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2642, allocations: 0 / 400.6 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.2653, allocations: 0.7849 MB / 401.4 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.2655, allocations: 208 kB / 401.6 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.2656, allocations: 15.98 kB / 401.6 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.266, allocations: 47.97 kB / 401.7 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.2661, allocations: 44.31 kB / 401.7 MB, free: 21.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/0.2662, allocations: 23.94 kB / 401.7 MB, free: 21.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006819/0.2669, allocations: 0.6865 MB / 402.4 MB, free: 20.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2669, allocations: 0 / 402.4 MB, free: 20.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005335/0.2674, allocations: 156 kB / 402.6 MB, free: 20.61 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.0007821/0.2682, allocations: 366.4 kB / 402.9 MB, free: 20.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.2694, allocations: 0.6123 MB / 403.6 MB, free: 19.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2694, allocations: 0 / 403.6 MB, free: 19.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/0.27, allocations: 315.2 kB / 403.9 MB, free: 19.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.271, allocations: 119.8 kB / 404 MB, free: 19.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.2734, allocations: 1.915 MB / 405.9 MB, free: 17.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.2738, allocations: 0.9594 MB / 406.9 MB, free: 16.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.274, allocations: 63.36 kB / 406.9 MB, free: 16.21 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.274, allocations: 0 / 406.9 MB, free: 16.21 MB / 298.7 MB Notification: Performance of Templates: time 0.01353/0.2875, allocations: 9.679 MB / 416.6 MB, free: 6.516 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