Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001145/0.001145, allocations: 117.7 kB / 17.7 MB, free: 5.305 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.001128/0.001128, allocations: 191 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009503/0.0009504, allocations: 54.91 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09296/0.09393, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007452/0.1014, allocations: 6.392 MB / 357.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.1052, allocations: 2.197 MB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005205/0.1057, allocations: 19.94 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.1065, allocations: 357.8 kB / 360.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009803/0.1075, allocations: 480.7 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000848/0.1083, allocations: 452.9 kB / 361.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.11, allocations: 1.53 MB / 362.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006562/0.1107, allocations: 0.5247 MB / 363.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005983/0.1113, allocations: 0.5685 MB / 364 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.112, allocations: 0.6653 MB / 364.7 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.1122, allocations: 160 kB / 364.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.1124, allocations: 188 kB / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1127, allocations: 330.8 kB / 365.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.1132, allocations: 0.665 MB / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.1148, allocations: 1.924 MB / 367.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1149, allocations: 3.984 kB / 367.9 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1149, allocations: 4 kB / 367.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.1149, allocations: 0 / 367.9 MB, free: 3.191 MB / 302.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.002933/0.1178, allocations: 1.535 MB / 369.5 MB, free: 1.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1179, allocations: 8.031 kB / 369.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.1181, allocations: 127.4 kB / 369.6 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.1192, allocations: 0.724 MB / 370.3 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.1193, allocations: 74.38 kB / 370.4 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.1195, allocations: 96.12 kB / 370.5 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.161/0.2805, allocations: 1.007 MB / 371.5 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.2806, allocations: 5.297 kB / 371.5 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.2806, allocations: 38.31 kB / 371.5 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.2807, allocations: 23.34 kB / 371.6 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.2827, allocations: 0.8844 MB / 372.4 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.2877, allocations: 3.62 MB / 376.1 MB, free: 22.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.2903, allocations: 0.9033 MB / 377 MB, free: 22.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/0.2911, allocations: 371.8 kB / 377.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.2911, allocations: 11.69 kB / 377.3 MB, free: 22.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.2911, allocations: 38.84 kB / 377.4 MB, free: 22.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.943e-06/0.2911, allocations: 0 / 377.4 MB, free: 22.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.004307/0.2955, allocations: 1.779 MB / 379.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2955, allocations: 85.48 kB / 379.2 MB, free: 21.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.2967, allocations: 0.9752 MB / 380.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.2967, allocations: 36.23 kB / 380.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.297, allocations: 0.5244 MB / 380.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2971, allocations: 230.5 kB / 381 MB, free: 20.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.2973, allocations: 164.1 kB / 381.2 MB, free: 20.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.2974, allocations: 336.7 kB / 381.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008371/0.2982, allocations: 345 kB / 381.8 MB, free: 19.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000886/0.2991, allocations: 0.513 MB / 382.3 MB, free: 19.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.3007, allocations: 0.8279 MB / 383.2 MB, free: 19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3007, allocations: 2.766 kB / 383.2 MB, free: 19 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002062/0.3028, allocations: 1.027 MB / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3028, allocations: 8 kB / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3028, allocations: 9 kB / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.3028, allocations: 8.719 kB / 384.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.304, allocations: 284.6 kB / 384.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.304, allocations: 11.55 kB / 384.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/0.3048, allocations: 68.47 kB / 384.6 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.3049, allocations: 36.28 kB / 384.6 MB, free: 18.54 MB / 302.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.0003298/0.3052, allocations: 293.1 kB / 384.9 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3054, allocations: 103 kB / 385 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.3062, allocations: 389 kB / 385.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3062, allocations: 6.781 kB / 385.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.3063, allocations: 1.062 kB / 385.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3063, allocations: 6.297 kB / 385.4 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.3095, allocations: 2.304 MB / 387.7 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3095, allocations: 10.91 kB / 387.7 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.3103, allocations: 205.8 kB / 387.9 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.3104, allocations: 9.281 kB / 387.9 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.3104, allocations: 19.69 kB / 387.9 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.3104, allocations: 17.33 kB / 388 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.3104, allocations: 19.66 kB / 388 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3118, allocations: 1.024 MB / 389 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.312, allocations: 187.5 kB / 389.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.3121, allocations: 22.77 kB / 389.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.3127, allocations: 51.67 kB / 389.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.3128, allocations: 64.69 kB / 389.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.3129, allocations: 28.92 kB / 389.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006847/0.3136, allocations: 0.6797 MB / 390 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3136, allocations: 0 / 390 MB, free: 15.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007404/0.3143, allocations: 206.8 kB / 390.2 MB, free: 15.06 MB / 302.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.0007806/0.3151, allocations: 390.9 kB / 390.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.3167, allocations: 0.7653 MB / 391.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3167, allocations: 0 / 391.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.3174, allocations: 374.7 kB / 391.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3185, allocations: 208.8 kB / 391.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.3213, allocations: 1.895 MB / 393.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.3218, allocations: 1.019 MB / 394.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004789/0.3223, allocations: 128.3 kB / 395 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.3225, allocations: 71.94 kB / 395.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3225, allocations: 0 / 395.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Templates: time 0.015/0.3375, allocations: 10.56 MB / 405.6 MB, free: 2.414 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches