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.001118/0.001117, allocations: 115.1 kB / 17.07 MB, free: 5.996 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.001186/0.001186, allocations: 196 kB / 18 MB, free: 5.074 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.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009453/0.0009454, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2618, allocations: 49.43 MB / 400.7 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.009218/0.271, allocations: 6.42 MB / 407.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004038/0.2751, allocations: 2.185 MB / 409.3 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007276/0.2759, allocations: 19.94 kB / 409.3 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.2767, allocations: 345.8 kB / 409.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.2779, allocations: 0.5005 MB / 410.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008263/0.2787, allocations: 450.7 kB / 410.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.2802, allocations: 1.538 MB / 412.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006216/0.2808, allocations: 0.5143 MB / 412.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.2814, allocations: 0.5723 MB / 413.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006616/0.282, allocations: 0.6731 MB / 413.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.2822, allocations: 160 kB / 414.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.2825, allocations: 184 kB / 414.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.2827, allocations: 327 kB / 414.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.2833, allocations: 0.6687 MB / 415.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.2849, allocations: 1.935 MB / 417.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2849, allocations: 0 / 417.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2849, allocations: 0 / 417.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.285, allocations: 0 / 417.2 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.002845/0.2878, allocations: 1.527 MB / 418.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2879, allocations: 8.031 kB / 418.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.2881, allocations: 135.3 kB / 418.8 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.2892, allocations: 0.7162 MB / 419.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.2893, allocations: 74.38 kB / 419.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.2894, allocations: 96.12 kB / 419.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.2914, allocations: 1.017 MB / 420.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.2915, allocations: 4 kB / 420.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.184e-05/0.2915, allocations: 39.94 kB / 420.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.2916, allocations: 24 kB / 420.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.2935, allocations: 0.8835 MB / 421.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005129/0.2987, allocations: 3.632 MB / 425.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.3014, allocations: 0.8948 MB / 426.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.3022, allocations: 369.8 kB / 426.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.3022, allocations: 11.98 kB / 426.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3023, allocations: 46.36 kB / 426.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.384e-06/0.3023, allocations: 0 / 426.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004745/0.307, allocations: 1.784 MB / 428.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3071, allocations: 89.11 kB / 428.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.3084, allocations: 0.9741 MB / 429.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.3084, allocations: 37.7 kB / 429.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.3088, allocations: 0.526 MB / 430 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.309, allocations: 228.7 kB / 430.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.3093, allocations: 158.5 kB / 430.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3094, allocations: 337.9 kB / 430.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008738/0.3103, allocations: 341.8 kB / 431.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.3113, allocations: 0.53 MB / 431.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.3131, allocations: 0.8212 MB / 432.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3131, allocations: 0 / 432.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002191/0.3153, allocations: 1.006 MB / 433.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3153, allocations: 15.97 kB / 433.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.3153, allocations: 8 kB / 433.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.3154, allocations: 11.98 kB / 433.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.3166, allocations: 279.6 kB / 433.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.3166, allocations: 15.94 kB / 433.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007851/0.3174, allocations: 71.92 kB / 433.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.3175, allocations: 31.98 kB / 433.9 MB, free: 7.109 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.0004315/0.3179, allocations: 281.6 kB / 434.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.318, allocations: 102.7 kB / 434.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009024/0.319, allocations: 386.2 kB / 434.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.319, allocations: 4 kB / 434.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.319, allocations: 0 / 434.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.319, allocations: 19.92 kB / 434.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.3228, allocations: 2.291 MB / 436.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.3228, allocations: 11.98 kB / 436.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/0.3236, allocations: 204.3 kB / 437.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.3237, allocations: 12 kB / 437.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.3237, allocations: 24 kB / 437.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-05/0.3237, allocations: 15.92 kB / 437.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.3238, allocations: 11.94 kB / 437.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.3254, allocations: 1.03 MB / 438.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.3256, allocations: 187.9 kB / 438.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3257, allocations: 19.98 kB / 438.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.3263, allocations: 55.95 kB / 438.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3265, allocations: 71.67 kB / 438.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.3265, allocations: 28 kB / 438.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008606/0.3274, allocations: 0.6786 MB / 439.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3274, allocations: 0 / 439.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007786/0.3282, allocations: 208 kB / 439.5 MB, free: 1.215 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.0008283/0.329, allocations: 387.7 kB / 439.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001852/0.3309, allocations: 0.7653 MB / 440.6 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3309, allocations: 8.062 kB / 440.6 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.3318, allocations: 365.1 kB / 441 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3329, allocations: 202.5 kB / 441.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.3361, allocations: 1.901 MB / 443.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.3367, allocations: 1.018 MB / 444.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000482/0.3372, allocations: 123.2 kB / 444.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.3374, allocations: 67.42 kB / 444.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3374, allocations: 3.938 kB / 444.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Templates: time 0.01909/0.3565, allocations: 10.79 MB / 455.1 MB, free: 1.703 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins/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