Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001297, allocations: 102.3 kB / 18.4 MB, free: 4.68 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.001146/0.001146, allocations: 188.3 kB / 19.34 MB, free: 3.754 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.274/1.274, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001223/0.001223, allocations: 51.92 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08124, allocations: 46.61 MB / 375.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.1732/0.2545, allocations: 6.338 MB / 382.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.2574, allocations: 2.134 MB / 384.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.2578, allocations: 19.06 kB / 384.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007186/0.2586, allocations: 356.1 kB / 384.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008728/0.2595, allocations: 481 kB / 385.1 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.2602, allocations: 438.2 kB / 385.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.2615, allocations: 1.543 MB / 387.1 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005963/0.2621, allocations: 0.5173 MB / 387.6 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005773/0.2627, allocations: 0.5648 MB / 388.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.2634, allocations: 0.667 MB / 388.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.2636, allocations: 159.6 kB / 389 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.264, allocations: 191.8 kB / 389.2 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.2642, allocations: 323.1 kB / 389.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.2647, allocations: 0.6665 MB / 390.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.2664, allocations: 1.936 MB / 392.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2664, allocations: 0 / 392.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2664, allocations: 3.938 kB / 392.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.2664, allocations: 1.031 kB / 392.1 MB, free: 5.902 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002891/0.2693, allocations: 1.536 MB / 393.6 MB, free: 4.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2694, allocations: 9.906 kB / 393.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.2696, allocations: 131.1 kB / 393.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.2707, allocations: 0.7124 MB / 394.5 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.2708, allocations: 74.12 kB / 394.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.271, allocations: 102 kB / 394.7 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.2729, allocations: 1.014 MB / 395.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.273, allocations: 1.469 kB / 395.7 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.311e-05/0.2731, allocations: 40.81 kB / 395.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.2731, allocations: 22.88 kB / 395.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.2751, allocations: 0.8835 MB / 396.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/0.2799, allocations: 3.633 MB / 400.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.2827, allocations: 0.9032 MB / 401.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.2835, allocations: 366.8 kB / 401.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.2835, allocations: 11.31 kB / 401.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.2836, allocations: 38.53 kB / 401.6 MB, free: 480 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.916e-06/0.2836, allocations: 0 / 401.6 MB, free: 480 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.004846/0.2884, allocations: 1.792 MB / 403.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2885, allocations: 90.91 kB / 403.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.2898, allocations: 0.9757 MB / 404.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.2898, allocations: 37.23 kB / 404.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/0.2902, allocations: 0.5208 MB / 405 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.2904, allocations: 232.4 kB / 405.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.2907, allocations: 156.4 kB / 405.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2908, allocations: 337.6 kB / 405.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009249/0.2917, allocations: 342 kB / 406 MB, free: 13.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.2928, allocations: 0.5208 MB / 406.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.2946, allocations: 0.8263 MB / 407.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2946, allocations: 5.281 kB / 407.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002346/0.297, allocations: 1.013 MB / 408.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.297, allocations: 11.72 kB / 408.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.297, allocations: 9.438 kB / 408.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.2971, allocations: 9.406 kB / 408.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.2983, allocations: 279.7 kB / 408.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.2983, allocations: 21.92 kB / 408.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.2992, allocations: 61.44 kB / 408.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.2992, allocations: 37.52 kB / 408.8 MB, free: 11.95 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0004057/0.2997, allocations: 283.3 kB / 409.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.2998, allocations: 105.8 kB / 409.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009998/0.3009, allocations: 387.1 kB / 409.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3009, allocations: 5 kB / 409.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3009, allocations: 4 kB / 409.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.3011, allocations: 183.4 kB / 409.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.3012, allocations: 11.28 kB / 409.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.3019, allocations: 58.59 kB / 409.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.302, allocations: 39.16 kB / 409.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002481/0.3045, allocations: 0.9825 MB / 410.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001882/0.3064, allocations: 0.9916 MB / 411.8 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008354/0.3072, allocations: 348.2 kB / 412.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009355/0.3082, allocations: 0.6767 MB / 412.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of Backend: time 5.82e-07/0.3082, allocations: 0 / 412.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.3109, allocations: 0.9275 MB / 413.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of SimCode: time 0.002868/0.3138, allocations: 2.069 MB / 415.9 MB, free: 7.207 MB / 334.1 MB Notification: Performance of Templates: time 0.02246/0.3363, allocations: 12.94 MB / 428.8 MB, free: 10.24 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches