Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 118.8 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 202 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2523, allocations: 50.56 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008232/0.2606, allocations: 6.532 MB / 415.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.2658, allocations: 2.369 MB / 418.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008566/0.2667, allocations: 23.94 kB / 418.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009401/0.2677, allocations: 361.7 kB / 418.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2691, allocations: 0.5199 MB / 419 MB, free: 7.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009231/0.2701, allocations: 462.8 kB / 419.5 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.2716, allocations: 1.569 MB / 421.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007691/0.2723, allocations: 0.5208 MB / 421.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008053/0.2732, allocations: 0.5918 MB / 422.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007374/0.2739, allocations: 0.6692 MB / 422.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.2741, allocations: 160 kB / 423 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.2744, allocations: 200 kB / 423.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.2747, allocations: 327 kB / 423.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006113/0.2754, allocations: 0.6804 MB / 424.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.2772, allocations: 1.983 MB / 426.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2772, allocations: 0 / 426.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2772, allocations: 4 kB / 426.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.2773, allocations: 3.984 kB / 426.2 MB, free: 0.5938 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002959/0.2802, allocations: 1.534 MB / 427.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2803, allocations: 8.031 kB / 427.7 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005486/0.2808, allocations: 163.3 kB / 427.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.2821, allocations: 0.7346 MB / 428.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/0.2821, allocations: 77.94 kB / 428.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.2823, allocations: 96 kB / 428.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.284, allocations: 0.9818 MB / 429.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.2841, allocations: 15.92 kB / 429.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.371e-05/0.2842, allocations: 36 kB / 429.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.2842, allocations: 24 kB / 429.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/0.2858, allocations: 0.8133 MB / 430.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005257/0.2911, allocations: 3.639 MB / 434.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.2931, allocations: 0.618 MB / 434.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.2937, allocations: 325.5 kB / 435.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.2938, allocations: 15.98 kB / 435.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.2938, allocations: 50.81 kB / 435.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.715e-06/0.2938, allocations: 0 / 435.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004071/0.2979, allocations: 1.668 MB / 437 MB, free: 5.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.298, allocations: 89.11 kB / 437.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.2992, allocations: 1.038 MB / 438.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.2993, allocations: 33.7 kB / 438.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/0.2997, allocations: 0.5454 MB / 438.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.2999, allocations: 236.6 kB / 438.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.3001, allocations: 166.5 kB / 439.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.3003, allocations: 345.9 kB / 439.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.301, allocations: 305.8 kB / 439.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008288/0.3018, allocations: 499.1 kB / 440.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.3033, allocations: 0.7796 MB / 441 MB, free: 1.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3033, allocations: 0 / 441 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.001896/0.3052, allocations: 0.968 MB / 441.9 MB, free: 288 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3053, allocations: 4 kB / 441.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3053, allocations: 8 kB / 441.9 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3053, allocations: 8 kB / 442 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.3065, allocations: 279.8 kB / 442.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.3065, allocations: 15.94 kB / 442.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007041/0.3072, allocations: 59.83 kB / 442.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.3073, allocations: 32 kB / 442.3 MB, free: 15.88 MB / 366.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 (112): * Single equations (assignments): 112 * 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.000387/0.3077, allocations: 293.6 kB / 442.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.3078, allocations: 106.7 kB / 442.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000748/0.3086, allocations: 350.7 kB / 443.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3086, allocations: 4 kB / 443.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3086, allocations: 4 kB / 443.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.3086, allocations: 7.922 kB / 443.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.3122, allocations: 2.297 MB / 445.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.3122, allocations: 8 kB / 445.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.3131, allocations: 204.2 kB / 445.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.3131, allocations: 12 kB / 445.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3131, allocations: 20 kB / 445.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.079e-05/0.3132, allocations: 15.92 kB / 445.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.3132, allocations: 11.94 kB / 445.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.3147, allocations: 1.022 MB / 446.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.3149, allocations: 191.9 kB / 446.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.315, allocations: 23.98 kB / 446.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.3157, allocations: 47.95 kB / 446.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3158, allocations: 67.75 kB / 447 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.3158, allocations: 28 kB / 447 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008617/0.3167, allocations: 0.719 MB / 447.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3167, allocations: 4 kB / 447.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007304/0.3174, allocations: 211.9 kB / 448 MB, free: 9.965 MB / 366.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.0008429/0.3183, allocations: 387.8 kB / 448.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.3198, allocations: 0.729 MB / 449.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3199, allocations: 1.312 kB / 449.1 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.3206, allocations: 360 kB / 449.4 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3217, allocations: 222.4 kB / 449.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.3248, allocations: 1.929 MB / 451.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.3254, allocations: 1.034 MB / 452.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000437/0.3259, allocations: 135.4 kB / 452.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.3261, allocations: 75.42 kB / 452.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3261, allocations: 0 / 452.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of Templates: time 0.02045/0.3465, allocations: 11.14 MB / 463.9 MB, free: 10.04 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches