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.001542/0.001542, allocations: 112.6 kB / 17.06 MB, free: 5.973 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.001751/0.001751, allocations: 200 kB / 18.01 MB, free: 5.055 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.418/1.418, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009316/0.0009316, allocations: 51.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2623, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007407/0.2698, allocations: 6.411 MB / 407.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.2733, allocations: 2.193 MB / 409.3 MB, free: 228 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.2738, allocations: 16 kB / 409.3 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007289/0.2746, allocations: 353.8 kB / 409.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009634/0.2756, allocations: 0.4967 MB / 410.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.2764, allocations: 453.5 kB / 410.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2779, allocations: 1.538 MB / 412.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.2785, allocations: 0.5104 MB / 412.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.2791, allocations: 0.5801 MB / 413.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.2798, allocations: 0.6654 MB / 413.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.28, allocations: 160 kB / 414.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.2802, allocations: 192 kB / 414.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.2805, allocations: 323 kB / 414.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005655/0.2811, allocations: 0.6687 MB / 415.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.2826, allocations: 1.931 MB / 417.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2827, allocations: 0 / 417.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.2827, allocations: 0 / 417.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.2827, allocations: 0 / 417.2 MB, free: 8.324 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.002912/0.2856, allocations: 1.531 MB / 418.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2856, allocations: 12.03 kB / 418.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2859, allocations: 139.3 kB / 418.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.287, allocations: 0.7084 MB / 419.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.2871, allocations: 74.38 kB / 419.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.2872, allocations: 100.1 kB / 419.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.2891, allocations: 1.009 MB / 420.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.2892, allocations: 3.938 kB / 420.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.2893, allocations: 43.94 kB / 420.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.2893, allocations: 24 kB / 420.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.2914, allocations: 0.8835 MB / 421.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005596/0.297, allocations: 3.625 MB / 425.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.3002, allocations: 0.8911 MB / 426.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.301, allocations: 377.8 kB / 426.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.463e-05/0.301, allocations: 15.92 kB / 426.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3011, allocations: 42.42 kB / 426.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.064e-06/0.3011, allocations: 0 / 426.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004862/0.306, allocations: 1.78 MB / 428.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.306, allocations: 85.05 kB / 428.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.3072, allocations: 0.978 MB / 429.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.3073, allocations: 33.7 kB / 429.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.3076, allocations: 0.526 MB / 430 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.3078, allocations: 236.7 kB / 430.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.308, allocations: 158.5 kB / 430.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3082, allocations: 341.9 kB / 430.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009272/0.3091, allocations: 337.8 kB / 431.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.3103, allocations: 0.5222 MB / 431.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.3123, allocations: 0.8251 MB / 432.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3123, allocations: 8 kB / 432.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002407/0.3147, allocations: 1.009 MB / 433.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3147, allocations: 11.94 kB / 433.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3147, allocations: 4 kB / 433.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.3148, allocations: 12 kB / 433.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.3161, allocations: 279.6 kB / 433.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.3161, allocations: 12 kB / 433.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/0.317, allocations: 71.86 kB / 433.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/0.3171, allocations: 39.98 kB / 433.9 MB, free: 7.09 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.0004899/0.3176, allocations: 281.6 kB / 434.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.3178, allocations: 102.7 kB / 434.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3188, allocations: 382.2 kB / 434.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3188, allocations: 11.94 kB / 434.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3188, allocations: 0 / 434.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3189, allocations: 3.984 kB / 434.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.3228, allocations: 2.295 MB / 436.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.3228, allocations: 12.84 kB / 436.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009316/0.3238, allocations: 215.6 kB / 437.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.3238, allocations: 8 kB / 437.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.3239, allocations: 23.98 kB / 437.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.3239, allocations: 8 kB / 437.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.3239, allocations: 15.88 kB / 437.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.326, allocations: 1.034 MB / 438.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.3263, allocations: 187.8 kB / 438.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3264, allocations: 27.98 kB / 438.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.327, allocations: 43.95 kB / 438.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3272, allocations: 67.75 kB / 438.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.331e-05/0.3272, allocations: 27.98 kB / 438.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008719/0.3281, allocations: 0.6786 MB / 439.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3281, allocations: 3.938 kB / 439.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008282/0.3289, allocations: 208 kB / 439.5 MB, free: 1.199 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.0008538/0.3298, allocations: 390.8 kB / 439.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.3317, allocations: 0.7647 MB / 440.6 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3317, allocations: 0 / 440.6 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.3325, allocations: 369.8 kB / 441 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3337, allocations: 202.2 kB / 441.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.3369, allocations: 1.909 MB / 443.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.3375, allocations: 1.014 MB / 444.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004976/0.338, allocations: 127.2 kB / 444.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.3382, allocations: 83.34 kB / 444.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3383, allocations: 0 / 444.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Templates: time 0.01798/0.3562, allocations: 10.77 MB / 455.1 MB, free: 1.691 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