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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 104.1 kB / 291.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 27.95 kB / 350 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2583, allocations: 49.44 MB / 399.5 MB, free: 33.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006435/0.2647, allocations: 6.388 MB / 405.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.2678, allocations: 2.152 MB / 408 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.2684, allocations: 19.94 kB / 408 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.2691, allocations: 314.5 kB / 408.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008497/0.27, allocations: 425.4 kB / 408.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.2707, allocations: 401.4 kB / 409.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.2717, allocations: 1.444 MB / 410.6 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.2722, allocations: 460.7 kB / 411 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.2727, allocations: 0.4902 MB / 411.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.2732, allocations: 0.6068 MB / 412.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.2733, allocations: 76 kB / 412.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.2735, allocations: 112 kB / 412.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.2737, allocations: 247 kB / 412.6 MB, free: 20.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.2741, allocations: 0.5829 MB / 413.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.2751, allocations: 1.838 MB / 415 MB, free: 17.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2751, allocations: 4 kB / 415 MB, free: 17.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2752, allocations: 0 / 415 MB, free: 17.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.2752, allocations: 0 / 415 MB, free: 17.73 MB / 298.7 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.002857/0.278, allocations: 1.542 MB / 416.5 MB, free: 16.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.2781, allocations: 16.03 kB / 416.5 MB, free: 16.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.2783, allocations: 131.3 kB / 416.7 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.2792, allocations: 0.7006 MB / 417.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.2793, allocations: 78.56 kB / 417.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2794, allocations: 95.94 kB / 417.5 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.281, allocations: 1.009 MB / 418.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.2811, allocations: 7.906 kB / 418.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.2811, allocations: 40 kB / 418.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.2812, allocations: 24 kB / 418.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.2829, allocations: 0.8913 MB / 419.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/0.2871, allocations: 3.644 MB / 423.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.2897, allocations: 0.8949 MB / 424.1 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.2904, allocations: 372.6 kB / 424.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.2905, allocations: 8 kB / 424.4 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2905, allocations: 42.5 kB / 424.5 MB, free: 7.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.756e-06/0.2905, allocations: 0 / 424.5 MB, free: 7.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004273/0.2948, allocations: 1.782 MB / 426.3 MB, free: 6.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2948, allocations: 93.09 kB / 426.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.2958, allocations: 0.9702 MB / 427.3 MB, free: 5.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.2958, allocations: 37.7 kB / 427.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.2961, allocations: 0.5299 MB / 427.9 MB, free: 4.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.2962, allocations: 228.7 kB / 428.1 MB, free: 4.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.2964, allocations: 158.4 kB / 428.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.2965, allocations: 337.9 kB / 428.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/0.2973, allocations: 345.8 kB / 428.9 MB, free: 3.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.2982, allocations: 0.5223 MB / 429.4 MB, free: 2.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.2997, allocations: 0.8297 MB / 430.3 MB, free: 1.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2998, allocations: 3.938 kB / 430.3 MB, free: 1.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002006/0.3018, allocations: 1.014 MB / 431.3 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3018, allocations: 8.375 kB / 431.3 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3018, allocations: 15.98 kB / 431.3 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3018, allocations: 8 kB / 431.3 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.3029, allocations: 279.6 kB / 431.6 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.303, allocations: 15.94 kB / 431.6 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.3038, allocations: 71.92 kB / 431.7 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.3038, allocations: 39.98 kB / 431.7 MB, free: 464 kB / 298.7 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.0003545/0.3042, allocations: 284 kB / 432 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.3043, allocations: 106.7 kB / 432.1 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009384/0.3053, allocations: 385.8 kB / 432.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3053, allocations: 8 kB / 432.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3053, allocations: 0 / 432.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3053, allocations: 7.984 kB / 432.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.3091, allocations: 2.307 MB / 434.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.3092, allocations: 4 kB / 434.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/0.31, allocations: 212.5 kB / 435 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.31, allocations: 8 kB / 435 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.3101, allocations: 23.98 kB / 435.1 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.3101, allocations: 19.88 kB / 435.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/0.3101, allocations: 7.938 kB / 435.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.3129, allocations: 2.036 MB / 437.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.3132, allocations: 187.9 kB / 437.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.978e-05/0.3133, allocations: 16 kB / 437.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.3139, allocations: 51.94 kB / 437.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3141, allocations: 67.75 kB / 437.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.3141, allocations: 31.98 kB / 437.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008257/0.315, allocations: 0.6786 MB / 438.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.315, allocations: 4 kB / 438.1 MB, free: 9.719 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008533/0.3158, allocations: 211.9 kB / 438.4 MB, free: 9.512 MB / 314.7 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.0007832/0.3166, allocations: 391.8 kB / 438.7 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.3185, allocations: 0.7603 MB / 439.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3185, allocations: 9.25 kB / 439.5 MB, free: 8.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008004/0.3193, allocations: 372.1 kB / 439.9 MB, free: 8.125 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3205, allocations: 184.2 kB / 440 MB, free: 7.945 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3241, allocations: 2.696 MB / 442.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.3247, allocations: 1.03 MB / 443.8 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000625/0.3254, allocations: 127.2 kB / 443.9 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.3256, allocations: 67.41 kB / 444 MB, free: 3.871 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3256, allocations: 0 / 444 MB, free: 3.871 MB / 314.7 MB Notification: Performance of Templates: time 0.01754/0.3431, allocations: 10.3 MB / 454.3 MB, free: 9.66 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches