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.001107/0.001107, allocations: 111.1 kB / 17.74 MB, free: 5.312 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.00113/0.00113, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009588/0.0009588, allocations: 43.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2492, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008203/0.2574, allocations: 6.411 MB / 407.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004092/0.2616, allocations: 2.185 MB / 410 MB, free: 232 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008786/0.2625, allocations: 19.94 kB / 410 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.2635, allocations: 357.8 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.2648, allocations: 492.7 kB / 410.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/0.2658, allocations: 451.2 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.2676, allocations: 1.529 MB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007214/0.2684, allocations: 0.5143 MB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.2691, allocations: 0.5762 MB / 413.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.2699, allocations: 0.6693 MB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.2701, allocations: 160 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.2704, allocations: 188 kB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.2707, allocations: 323 kB / 415.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005244/0.2712, allocations: 0.6688 MB / 415.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.2729, allocations: 1.935 MB / 417.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2729, allocations: 0 / 417.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2729, allocations: 0 / 417.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.2729, allocations: 4 kB / 417.8 MB, free: 8.34 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.002956/0.2759, allocations: 1.527 MB / 419.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2759, allocations: 8.031 kB / 419.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.2761, allocations: 139.3 kB / 419.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2773, allocations: 0.724 MB / 420.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.2773, allocations: 70.38 kB / 420.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.2775, allocations: 100.1 kB / 420.4 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.2795, allocations: 1.009 MB / 421.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.2795, allocations: 8 kB / 421.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/0.2796, allocations: 36 kB / 421.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.2796, allocations: 24 kB / 421.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.2817, allocations: 0.8873 MB / 422.4 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005103/0.2868, allocations: 3.625 MB / 426 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.2899, allocations: 0.8909 MB / 426.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/0.2907, allocations: 370.1 kB / 427.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.2908, allocations: 15.92 kB / 427.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2908, allocations: 42.42 kB / 427.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.937e-06/0.2908, allocations: 4 kB / 427.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004958/0.2958, allocations: 1.78 MB / 429.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2959, allocations: 85.11 kB / 429.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.297, allocations: 0.9741 MB / 430.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.2971, allocations: 41.7 kB / 430.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.2975, allocations: 0.526 MB / 430.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.2976, allocations: 232.7 kB / 430.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.2979, allocations: 154.5 kB / 431.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.298, allocations: 337.9 kB / 431.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009192/0.299, allocations: 341.8 kB / 431.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3, allocations: 0.53 MB / 432.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.3019, allocations: 0.8212 MB / 433.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3019, allocations: 0 / 433.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002269/0.3042, allocations: 1.009 MB / 434.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3042, allocations: 11.94 kB / 434.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3042, allocations: 8 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.3042, allocations: 11.98 kB / 434.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3055, allocations: 287.8 kB / 434.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.3056, allocations: 8 kB / 434.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007913/0.3064, allocations: 75.92 kB / 434.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.3064, allocations: 35.98 kB / 434.5 MB, free: 7.102 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.0004199/0.3069, allocations: 281.6 kB / 434.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.307, allocations: 102.7 kB / 434.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.308, allocations: 387.8 kB / 435.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.3081, allocations: 8 kB / 435.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.3081, allocations: 0 / 435.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3081, allocations: 7.984 kB / 435.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.3121, allocations: 2.303 MB / 437.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.3122, allocations: 8 kB / 437.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009188/0.3131, allocations: 203.7 kB / 437.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.3131, allocations: 12 kB / 437.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.3132, allocations: 24.05 kB / 437.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.3132, allocations: 15.94 kB / 437.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.3132, allocations: 15.88 kB / 437.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.315, allocations: 1.026 MB / 438.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.3152, allocations: 187.9 kB / 439.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.3154, allocations: 19.98 kB / 439.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/0.316, allocations: 51.95 kB / 439.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3162, allocations: 63.75 kB / 439.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.3162, allocations: 31.98 kB / 439.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008902/0.3171, allocations: 0.6747 MB / 439.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3171, allocations: 3.938 kB / 439.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007799/0.3179, allocations: 212 kB / 440.1 MB, free: 1.211 MB / 350.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.000933/0.3188, allocations: 376.4 kB / 440.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.3207, allocations: 0.772 MB / 441.3 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.3208, allocations: 4 kB / 441.3 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.3216, allocations: 365.5 kB / 441.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3228, allocations: 199.6 kB / 441.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.326, allocations: 1.946 MB / 443.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.3266, allocations: 1.018 MB / 444.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3269, allocations: 79.41 kB / 444.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3269, allocations: 0 / 444.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01969/0.3466, allocations: 13.04 MB / 457.9 MB, free: 15.46 MB / 382.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