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.001081/0.001081, allocations: 112.7 kB / 17.75 MB, free: 5.309 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.001297/0.001297, allocations: 187 kB / 18.68 MB, free: 4.391 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009971/0.0009971, allocations: 47.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2403, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007551/0.2479, allocations: 6.401 MB / 407.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.2517, allocations: 2.189 MB / 410 MB, free: 248 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009563/0.2527, allocations: 19.94 kB / 410 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2538, allocations: 357.8 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.2554, allocations: 0.4928 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.2564, allocations: 447.2 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2585, allocations: 1.542 MB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.2594, allocations: 0.5129 MB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008684/0.2603, allocations: 0.5878 MB / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009687/0.2612, allocations: 0.6615 MB / 414.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.2615, allocations: 160 kB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.2618, allocations: 195.9 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.2621, allocations: 319 kB / 415.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.2627, allocations: 0.6727 MB / 415.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.2643, allocations: 1.925 MB / 417.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2643, allocations: 0 / 417.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2643, allocations: 0 / 417.9 MB, free: 8.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.2643, allocations: 0 / 417.9 MB, free: 8.336 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002828/0.2672, allocations: 1.535 MB / 419.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2672, allocations: 8.031 kB / 419.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.2674, allocations: 131.3 kB / 419.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2685, allocations: 0.7201 MB / 420.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/0.2686, allocations: 74.38 kB / 420.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2687, allocations: 96.12 kB / 420.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.2706, allocations: 1.009 MB / 421.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.2707, allocations: 7.938 kB / 421.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.2708, allocations: 36 kB / 421.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2708, allocations: 24 kB / 421.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.2728, allocations: 0.8835 MB / 422.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004852/0.2776, allocations: 3.633 MB / 426 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.2807, allocations: 0.8909 MB / 426.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.2814, allocations: 366.1 kB / 427.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.2815, allocations: 19.91 kB / 427.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2815, allocations: 42.42 kB / 427.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.154e-06/0.2815, allocations: 0 / 427.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004721/0.2863, allocations: 1.78 MB / 429.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2863, allocations: 85.11 kB / 429.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.2874, allocations: 0.9741 MB / 430.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.2875, allocations: 37.7 kB / 430.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.2878, allocations: 0.5299 MB / 430.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.288, allocations: 236.6 kB / 431 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.2882, allocations: 158.5 kB / 431.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2884, allocations: 341.9 kB / 431.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009086/0.2893, allocations: 341.8 kB / 431.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2903, allocations: 0.5183 MB / 432.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.2921, allocations: 0.829 MB / 433.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2921, allocations: 0 / 433.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002234/0.2944, allocations: 1.009 MB / 434.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2944, allocations: 11.94 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.2944, allocations: 4 kB / 434.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2944, allocations: 15.98 kB / 434.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.2957, allocations: 283.7 kB / 434.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.2957, allocations: 8 kB / 434.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/0.2965, allocations: 75.83 kB / 434.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.2965, allocations: 39.98 kB / 434.6 MB, free: 7.094 MB / 350.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.0003567/0.2969, allocations: 285.5 kB / 434.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.2971, allocations: 98.81 kB / 434.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009563/0.298, allocations: 379.8 kB / 435.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.298, allocations: 3.984 kB / 435.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2981, allocations: 4 kB / 435.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.2982, allocations: 175.9 kB / 435.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2984, allocations: 12 kB / 435.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.299, allocations: 63.92 kB / 435.6 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.2991, allocations: 47.92 kB / 435.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002496/0.3016, allocations: 0.9867 MB / 436.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001805/0.3035, allocations: 0.9907 MB / 437.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007824/0.3042, allocations: 340 kB / 437.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000784/0.305, allocations: 0.6786 MB / 438.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.305, allocations: 0 / 438.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.3075, allocations: 0.9229 MB / 439.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of SimCode: time 0.002681/0.3102, allocations: 2.081 MB / 441.6 MB, free: 104 kB / 350.1 MB Notification: Performance of Templates: time 0.02093/0.3312, allocations: 13.16 MB / 454.8 MB, free: 3.043 MB / 366.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 -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