Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 113.2 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 188.2 kB / 18.66 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001301, allocations: 51.92 kB / 328.5 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09113/0.09244, allocations: 46.61 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006672/0.09917, allocations: 4.506 MB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2363/0.3355, allocations: 1.745 MB / 381.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007271/0.3363, allocations: 11.25 kB / 381.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.3375, allocations: 427.4 kB / 381.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.339, allocations: 428.8 kB / 382.2 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.34, allocations: 298.5 kB / 382.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.3419, allocations: 1.021 MB / 383.5 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.3425, allocations: 308.9 kB / 383.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.3432, allocations: 407.7 kB / 384.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.344, allocations: 0.5001 MB / 384.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001752/0.3442, allocations: 100.5 kB / 384.8 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.3445, allocations: 128.5 kB / 385 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.3448, allocations: 233.7 kB / 385.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.3453, allocations: 461 kB / 385.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.347, allocations: 1.268 MB / 386.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3471, allocations: 0 / 386.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3471, allocations: 1.094 kB / 386.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.3471, allocations: 4 kB / 386.9 MB, free: 7.848 MB / 318.1 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.003285/0.3504, allocations: 1.202 MB / 388.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3505, allocations: 8.844 kB / 388.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.3507, allocations: 103.5 kB / 388.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.352, allocations: 0.5484 MB / 388.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.3521, allocations: 45.97 kB / 388.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3522, allocations: 62.72 kB / 388.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.3542, allocations: 0.6499 MB / 389.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.3542, allocations: 5.219 kB / 389.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.3543, allocations: 21 kB / 389.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.3544, allocations: 19.61 kB / 389.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.3565, allocations: 0.5566 MB / 390.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/0.3624, allocations: 2.547 MB / 392.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.364, allocations: 475 kB / 393.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.3652, allocations: 299.3 kB / 393.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.3653, allocations: 16.42 kB / 393.5 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3654, allocations: 33.56 kB / 393.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 3.236e-06/0.3654, allocations: 0 / 393.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.007485/0.3729, allocations: 1.489 MB / 395 MB, free: 3.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.373, allocations: 61.31 kB / 395 MB, free: 3.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.3749, allocations: 0.9393 MB / 396 MB, free: 3.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.375, allocations: 35.98 kB / 396 MB, free: 2.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.3754, allocations: 407.2 kB / 396.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.3756, allocations: 204.6 kB / 396.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.376, allocations: 118.1 kB / 396.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.3761, allocations: 332 kB / 397.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009868/0.3771, allocations: 246.2 kB / 397.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.3782, allocations: 350.1 kB / 397.6 MB, free: 1.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.3801, allocations: 0.5623 MB / 398.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3801, allocations: 1.688 kB / 398.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002571/0.3827, allocations: 0.7311 MB / 398.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.3828, allocations: 9.438 kB / 398.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3828, allocations: 2.75 kB / 398.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/0.3829, allocations: 5.5 kB / 398.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.3842, allocations: 174.6 kB / 399.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.3843, allocations: 16 kB / 399.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.3853, allocations: 38.5 kB / 399.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.413e-05/0.3854, allocations: 28.55 kB / 399.2 MB, free: 1.219 MB / 318.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 (83): * Single equations (assignments): 83 * 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.0006972/0.3861, allocations: 259.8 kB / 399.5 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.3864, allocations: 85.41 kB / 399.5 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.389, allocations: 0.6371 MB / 400.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.389, allocations: 6.703 kB / 400.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.389, allocations: 0.5312 kB / 400.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.389, allocations: 4.875 kB / 400.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.3946, allocations: 1.801 MB / 402 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.3946, allocations: 5.344 kB / 402 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/0.3956, allocations: 129.4 kB / 402.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/0.3957, allocations: 5.125 kB / 402.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/0.3958, allocations: 17.36 kB / 402.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/0.3958, allocations: 13.47 kB / 402.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.3958, allocations: 3.094 kB / 402.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.3983, allocations: 0.7427 MB / 402.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.3988, allocations: 207.2 kB / 403.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.399, allocations: 17.97 kB / 403.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/0.3998, allocations: 34.84 kB / 403.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.4, allocations: 51.3 kB / 403.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.4001, allocations: 22.62 kB / 403.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.4016, allocations: 0.6851 MB / 403.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4016, allocations: 4 kB / 403.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001058/0.4027, allocations: 145.3 kB / 404.1 MB, free: 14.27 MB / 334.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 (61): * Single equations (assignments): 61 * 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.001527/0.4042, allocations: 375.6 kB / 404.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.4068, allocations: 0.5807 MB / 405 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4068, allocations: 5.406 kB / 405 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.408, allocations: 291.8 kB / 405.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.4094, allocations: 130.8 kB / 405.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/0.414, allocations: 1.581 MB / 407 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009606/0.415, allocations: 0.9587 MB / 408 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007587/0.4157, allocations: 103.1 kB / 408.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/0.4161, allocations: 59.7 kB / 408.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4161, allocations: 0 / 408.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of Templates: time 0.01928/0.4354, allocations: 7.781 MB / 415.9 MB, free: 5.637 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches