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.001624/0.001624, allocations: 98.05 kB / 18.39 MB, free: 4.664 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.002258/0.002258, allocations: 190.5 kB / 19.33 MB, free: 3.738 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.398/1.398, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001232/0.001232, allocations: 60.39 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08518, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.197/0.2822, allocations: 6.333 MB / 382.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.2866, allocations: 2.128 MB / 384.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.2877, allocations: 19.66 kB / 384.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2889, allocations: 356.9 kB / 384.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.2906, allocations: 492.1 kB / 385.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.2918, allocations: 431.8 kB / 385.5 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002149/0.294, allocations: 1.549 MB / 387.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007995/0.2948, allocations: 0.5152 MB / 387.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009103/0.2957, allocations: 0.5773 MB / 388.2 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.2965, allocations: 0.6593 MB / 388.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.2968, allocations: 163.7 kB / 389 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.2972, allocations: 196.9 kB / 389.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.2974, allocations: 327.5 kB / 389.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.298, allocations: 0.6623 MB / 390.2 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.3003, allocations: 1.933 MB / 392.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3003, allocations: 0 / 392.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3003, allocations: 0 / 392.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.046e-05/0.3004, allocations: 1.344 kB / 392.1 MB, free: 5.59 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.00336/0.3037, allocations: 1.543 MB / 393.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3038, allocations: 8.719 kB / 393.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.304, allocations: 131.6 kB / 393.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.3053, allocations: 0.7085 MB / 394.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/0.3053, allocations: 73.25 kB / 394.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.3055, allocations: 107.8 kB / 394.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.3075, allocations: 1.006 MB / 395.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.3076, allocations: 6.094 kB / 395.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.3077, allocations: 35.16 kB / 395.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.3077, allocations: 27.88 kB / 395.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.3097, allocations: 0.8867 MB / 396.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/0.3149, allocations: 3.633 MB / 400.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.3178, allocations: 0.8979 MB / 401.2 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.3185, allocations: 372.5 kB / 401.5 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.3186, allocations: 14.84 kB / 401.5 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3186, allocations: 37.31 kB / 401.6 MB, free: 188 kB / 318.1 MB Notification: Performance of pre-optimization done (n=58): time 2.815e-06/0.3186, allocations: 0 / 401.6 MB, free: 188 kB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005175/0.3238, allocations: 1.789 MB / 403.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3239, allocations: 84.08 kB / 403.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/0.3254, allocations: 0.9784 MB / 404.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.3254, allocations: 36.98 kB / 404.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.3258, allocations: 0.5211 MB / 405 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.326, allocations: 229.7 kB / 405.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.3263, allocations: 163.1 kB / 405.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3265, allocations: 341.2 kB / 405.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.3275, allocations: 338.9 kB / 406 MB, free: 13.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.3286, allocations: 0.5246 MB / 406.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.3305, allocations: 0.8225 MB / 407.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.3305, allocations: 1.469 kB / 407.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002679/0.3332, allocations: 1.013 MB / 408.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.3332, allocations: 10.81 kB / 408.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3333, allocations: 9.531 kB / 408.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.3333, allocations: 9.5 kB / 408.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.3346, allocations: 287.2 kB / 408.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/0.3346, allocations: 10.47 kB / 408.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.3357, allocations: 69.52 kB / 408.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.3359, allocations: 33.39 kB / 408.8 MB, free: 11.67 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.0005986/0.3365, allocations: 291.4 kB / 409.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.3367, allocations: 102.5 kB / 409.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.3378, allocations: 383.7 kB / 409.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.3379, allocations: 10.09 kB / 409.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.3379, allocations: 1.188 kB / 409.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3379, allocations: 3.984 kB / 409.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.3427, allocations: 2.3 MB / 411.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.3428, allocations: 11.89 kB / 411.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/0.3437, allocations: 210.6 kB / 412.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/0.3437, allocations: 9.625 kB / 412.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.3437, allocations: 23.16 kB / 412.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.3438, allocations: 14.2 kB / 412.2 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.3438, allocations: 15.44 kB / 412.2 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.3456, allocations: 1.019 MB / 413.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.3461, allocations: 189.8 kB / 413.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.3463, allocations: 26.27 kB / 413.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007743/0.3471, allocations: 51.2 kB / 413.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.3473, allocations: 65.53 kB / 413.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3473, allocations: 24.91 kB / 413.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.3485, allocations: 0.6807 MB / 414.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3485, allocations: 0 / 414.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001103/0.3497, allocations: 210.8 kB / 414.4 MB, free: 7.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.001006/0.3507, allocations: 380.1 kB / 414.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00209/0.3528, allocations: 0.7706 MB / 415.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.3528, allocations: 0 / 415.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.3537, allocations: 369.8 kB / 415.9 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.3551, allocations: 203.7 kB / 416.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00402/0.3592, allocations: 1.931 MB / 418.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009576/0.3602, allocations: 1.018 MB / 419.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/0.3606, allocations: 87.34 kB / 419.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3606, allocations: 0 / 419.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of Templates: time 0.02253/0.3831, allocations: 13.04 MB / 432.2 MB, free: 6.305 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