Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 106.5 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 190.1 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 207.6 MB / 234 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 58.42 kB / 345.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2551, allocations: 49.11 MB / 394.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006583/0.2617, allocations: 6.365 MB / 401.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.2653, allocations: 2.15 MB / 403.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006096/0.2659, allocations: 23.88 kB / 403.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000765/0.2666, allocations: 352.9 kB / 403.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2677, allocations: 0.4898 MB / 404.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.2685, allocations: 436.5 kB / 404.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.2699, allocations: 1.542 MB / 406.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.2704, allocations: 361 kB / 406.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.271, allocations: 0.5831 MB / 407.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.2717, allocations: 0.6675 MB / 407.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.2719, allocations: 163.8 kB / 408 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003085/0.2722, allocations: 192.5 kB / 408.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.2725, allocations: 327.8 kB / 408.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.273, allocations: 0.6618 MB / 409.2 MB, free: 432 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.2751, allocations: 1.938 MB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2751, allocations: 0 / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2751, allocations: 0 / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.2752, allocations: 0 / 411.1 MB, free: 15.23 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.003465/0.2786, allocations: 1.583 MB / 412.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2787, allocations: 10.25 kB / 412.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.2789, allocations: 135.4 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.2802, allocations: 0.7151 MB / 413.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.2803, allocations: 73.31 kB / 413.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.2805, allocations: 106.3 kB / 413.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.2825, allocations: 1.006 MB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.2825, allocations: 6.219 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/0.2826, allocations: 36.56 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.2826, allocations: 26.06 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.2847, allocations: 0.8866 MB / 415.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006069/0.2908, allocations: 3.628 MB / 419.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.2937, allocations: 0.8691 MB / 420.2 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/0.2945, allocations: 342.9 kB / 420.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.718e-05/0.2946, allocations: 11.02 kB / 420.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.2946, allocations: 41.7 kB / 420.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.314e-06/0.2946, allocations: 0 / 420.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005165/0.2998, allocations: 1.819 MB / 422.4 MB, free: 7.598 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.2998, allocations: 84.02 kB / 422.5 MB, free: 7.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.3012, allocations: 0.9702 MB / 423.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.3012, allocations: 36.98 kB / 423.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.3017, allocations: 0.5424 MB / 424 MB, free: 6.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.3019, allocations: 241.9 kB / 424.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.3022, allocations: 159.1 kB / 424.4 MB, free: 6.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3024, allocations: 338.4 kB / 424.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009386/0.3033, allocations: 341.2 kB / 425.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3044, allocations: 0.5262 MB / 425.6 MB, free: 4.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.3063, allocations: 0.829 MB / 426.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3063, allocations: 4 kB / 426.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002446/0.3087, allocations: 1.018 MB / 427.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.3087, allocations: 15.84 kB / 427.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3087, allocations: 4 kB / 427.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.3088, allocations: 12 kB / 427.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.3101, allocations: 291.5 kB / 427.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.3101, allocations: 12 kB / 427.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/0.311, allocations: 67.92 kB / 427.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.311, allocations: 32 kB / 427.9 MB, free: 2.531 MB / 334.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.0005176/0.3116, allocations: 290.6 kB / 428.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.3117, allocations: 111.3 kB / 428.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009989/0.3127, allocations: 386.2 kB / 428.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.3128, allocations: 8 kB / 428.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.3128, allocations: 0 / 428.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3128, allocations: 7.969 kB / 428.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.3169, allocations: 2.291 MB / 431 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/0.3169, allocations: 4 kB / 431 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.3178, allocations: 208.5 kB / 431.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.3178, allocations: 8 kB / 431.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.3179, allocations: 27.98 kB / 431.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.3179, allocations: 11.94 kB / 431.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/0.3179, allocations: 19.86 kB / 431.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.3197, allocations: 1.03 MB / 432.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.32, allocations: 196.3 kB / 432.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3201, allocations: 24 kB / 432.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.3207, allocations: 51.94 kB / 432.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.3208, allocations: 67.75 kB / 432.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/0.3209, allocations: 24 kB / 432.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000908/0.3218, allocations: 0.6786 MB / 433.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3218, allocations: 0 / 433.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008091/0.3226, allocations: 212 kB / 433.5 MB, free: 12.63 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.001314/0.3239, allocations: 368.7 kB / 433.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.3257, allocations: 0.7375 MB / 434.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.3257, allocations: 4 kB / 434.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000813/0.3266, allocations: 361.7 kB / 435 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.3277, allocations: 203.2 kB / 435.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3312, allocations: 1.964 MB / 437.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.3319, allocations: 1.018 MB / 438.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.3321, allocations: 83.39 kB / 438.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3321, allocations: 0 / 438.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of Templates: time 0.01905/0.3512, allocations: 13.07 MB / 451.3 MB, free: 10.65 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches