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.001152/0.001152, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.231, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00713/0.2382, allocations: 6.537 MB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003825/0.2421, allocations: 2.373 MB / 418.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005327/0.2426, allocations: 19.94 kB / 418.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.2434, allocations: 361.8 kB / 419.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.2444, allocations: 0.5315 MB / 419.7 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.2453, allocations: 446.8 kB / 420.2 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.2467, allocations: 1.573 MB / 421.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.2473, allocations: 0.5208 MB / 422.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.248, allocations: 0.5957 MB / 422.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006857/0.2487, allocations: 0.6653 MB / 423.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.2489, allocations: 160 kB / 423.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.2492, allocations: 204 kB / 423.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.2494, allocations: 330.9 kB / 424.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.2499, allocations: 0.6804 MB / 424.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.2515, allocations: 1.975 MB / 426.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2515, allocations: 0 / 426.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2515, allocations: 0 / 426.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.2515, allocations: 4 kB / 426.9 MB, free: 0.5586 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.002672/0.2542, allocations: 1.538 MB / 428.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2543, allocations: 12.03 kB / 428.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005251/0.2548, allocations: 159.3 kB / 428.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.2559, allocations: 0.7424 MB / 429.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.256, allocations: 74 kB / 429.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.2561, allocations: 96 kB / 429.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.2578, allocations: 0.9779 MB / 430.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.2579, allocations: 7.844 kB / 430.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-05/0.258, allocations: 55.91 kB / 430.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.258, allocations: 20 kB / 430.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.2596, allocations: 0.8172 MB / 431.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004873/0.2645, allocations: 3.628 MB / 435 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.2665, allocations: 0.6258 MB / 435.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005887/0.2671, allocations: 325.6 kB / 435.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.2672, allocations: 15.92 kB / 435.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.2672, allocations: 46.88 kB / 436 MB, free: 7.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.396e-06/0.2672, allocations: 3.984 kB / 436 MB, free: 7.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004096/0.2713, allocations: 1.657 MB / 437.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.2714, allocations: 93.05 kB / 437.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.2726, allocations: 1.042 MB / 438.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.2727, allocations: 33.7 kB / 438.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.273, allocations: 0.5493 MB / 439.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.2732, allocations: 228.7 kB / 439.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.2734, allocations: 166.5 kB / 439.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2735, allocations: 341.9 kB / 440.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007345/0.2743, allocations: 305.8 kB / 440.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.2751, allocations: 495.2 kB / 440.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.2766, allocations: 0.7912 MB / 441.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2766, allocations: 0 / 441.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00194/0.2786, allocations: 0.968 MB / 442.6 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2786, allocations: 4 kB / 442.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2786, allocations: 8 kB / 442.6 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.2786, allocations: 8 kB / 442.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.2798, allocations: 275.8 kB / 442.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.2799, allocations: 11.94 kB / 442.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.2806, allocations: 59.89 kB / 443 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.2807, allocations: 31.98 kB / 443 MB, free: 15.84 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.0003843/0.2811, allocations: 293.6 kB / 443.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.2812, allocations: 102.7 kB / 443.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.282, allocations: 346 kB / 443.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.282, allocations: 8 kB / 443.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2821, allocations: 0 / 443.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.2821, allocations: 19.86 kB / 443.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.2856, allocations: 2.293 MB / 446.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.2856, allocations: 8 kB / 446.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008888/0.2865, allocations: 204.3 kB / 446.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.2866, allocations: 12 kB / 446.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.2866, allocations: 23.98 kB / 446.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/0.2866, allocations: 11.94 kB / 446.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.2866, allocations: 8 kB / 446.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.2882, allocations: 1.022 MB / 447.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.2884, allocations: 195.8 kB / 447.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.2885, allocations: 31.92 kB / 447.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/0.2892, allocations: 51.95 kB / 447.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.2893, allocations: 67.69 kB / 447.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.2893, allocations: 28 kB / 447.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008591/0.2902, allocations: 0.719 MB / 448.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2902, allocations: 0 / 448.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007685/0.291, allocations: 216 kB / 448.6 MB, free: 9.918 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.0008368/0.2918, allocations: 378.4 kB / 449 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.2934, allocations: 0.7251 MB / 449.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.2934, allocations: 5.312 kB / 449.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.2942, allocations: 359.8 kB / 450.1 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.2954, allocations: 229.5 kB / 450.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.2984, allocations: 1.966 MB / 452.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.2989, allocations: 1.037 MB / 453.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.2992, allocations: 83.41 kB / 453.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2992, allocations: 3.938 kB / 453.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of Templates: time 0.0167/0.3159, allocations: 13.49 MB / 466.9 MB, free: 7.672 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/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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches