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.00111/0.00111, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 206.7 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.311/1.311, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2323, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007114/0.2394, allocations: 6.529 MB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.2431, allocations: 2.369 MB / 418.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.2435, allocations: 19.94 kB / 418.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.2442, allocations: 365.7 kB / 419.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.2452, allocations: 0.5472 MB / 419.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.246, allocations: 443 kB / 420.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.2473, allocations: 1.581 MB / 421.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006018/0.2479, allocations: 0.513 MB / 422.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.2485, allocations: 0.5918 MB / 422.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006922/0.2492, allocations: 0.6809 MB / 423.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.2494, allocations: 160 kB / 423.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002635/0.2496, allocations: 200 kB / 423.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.2499, allocations: 326.9 kB / 424.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.2504, allocations: 0.6805 MB / 424.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.252, allocations: 1.975 MB / 426.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.252, allocations: 0 / 426.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.252, allocations: 0 / 426.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.252, allocations: 0 / 426.9 MB, free: 0.5273 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.002665/0.2547, allocations: 1.538 MB / 428.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.2547, allocations: 8.031 kB / 428.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005498/0.2553, allocations: 167.2 kB / 428.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2564, allocations: 0.7385 MB / 429.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.2565, allocations: 78 kB / 429.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2567, allocations: 99.94 kB / 429.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.2584, allocations: 0.9818 MB / 430.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.2585, allocations: 0 / 430.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/0.2586, allocations: 40 kB / 430.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.2586, allocations: 24 kB / 430.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.2603, allocations: 0.821 MB / 431.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005068/0.2654, allocations: 3.639 MB / 435 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.2674, allocations: 0.6141 MB / 435.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005967/0.268, allocations: 330.7 kB / 435.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.018e-05/0.2681, allocations: 15.97 kB / 436 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.2681, allocations: 50.81 kB / 436 MB, free: 7.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.194e-06/0.2681, allocations: 0 / 436 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004057/0.2722, allocations: 1.663 MB / 437.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.2722, allocations: 85.11 kB / 437.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.2735, allocations: 1.038 MB / 438.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.2735, allocations: 41.7 kB / 438.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.2739, allocations: 0.5415 MB / 439.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2741, allocations: 232.7 kB / 439.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.2743, allocations: 162.5 kB / 439.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2744, allocations: 345.9 kB / 440.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.2752, allocations: 305.8 kB / 440.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/0.2761, allocations: 0.4913 MB / 440.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.2776, allocations: 0.7796 MB / 441.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.2776, allocations: 8 kB / 441.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00196/0.2795, allocations: 0.9598 MB / 442.6 MB, free: 216 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2796, allocations: 8.562 kB / 442.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2796, allocations: 4 kB / 442.7 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2796, allocations: 16 kB / 442.7 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2808, allocations: 271.7 kB / 442.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/0.2808, allocations: 11.94 kB / 442.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.2815, allocations: 55.95 kB / 443 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.2816, allocations: 39.92 kB / 443 MB, free: 15.81 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.0003795/0.282, allocations: 289.6 kB / 443.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.2822, allocations: 106.7 kB / 443.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007788/0.283, allocations: 354.2 kB / 443.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.283, allocations: 3.984 kB / 443.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.283, allocations: 0 / 443.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.2832, allocations: 183.9 kB / 444 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.2833, allocations: 23.86 kB / 444 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.2839, allocations: 43.95 kB / 444 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.284, allocations: 39.95 kB / 444.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002104/0.2861, allocations: 0.8899 MB / 445 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001517/0.2876, allocations: 0.9329 MB / 445.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000611/0.2883, allocations: 296.4 kB / 446.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000874/0.2891, allocations: 0.719 MB / 446.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Backend: time 5.61e-07/0.2891, allocations: 0 / 446.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.2916, allocations: 0.8863 MB / 447.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 0.002788/0.2944, allocations: 2.143 MB / 449.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of Templates: time 0.02207/0.3164, allocations: 13.64 MB / 463.6 MB, free: 11.4 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