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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 120.2 kB / 21.94 MB, free: 4 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002449/0.002449, allocations: 208.7 kB / 25.24 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 207.6 MB / 236 MB, free: 9.965 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 55.91 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2553, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.00736/0.2626, allocations: 6.4 MB / 404 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.267, allocations: 2.154 MB / 406.2 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.2681, allocations: 24.03 kB / 406.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008931/0.269, allocations: 361.2 kB / 406.5 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.2704, allocations: 499.5 kB / 407 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009551/0.2714, allocations: 435.7 kB / 407.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001886/0.2732, allocations: 1.544 MB / 409 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.2738, allocations: 355.7 kB / 409.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007963/0.2746, allocations: 0.5891 MB / 409.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007464/0.2753, allocations: 0.6779 MB / 410.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.2755, allocations: 159.4 kB / 410.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.2758, allocations: 192.3 kB / 411 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.276, allocations: 326.6 kB / 411.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005088/0.2766, allocations: 0.6654 MB / 411.9 MB, free: 304 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.2786, allocations: 1.933 MB / 413.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2786, allocations: 0 / 413.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2786, allocations: 0 / 413.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.2787, allocations: 1.188 kB / 413.9 MB, free: 14.95 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.00348/0.2822, allocations: 1.508 MB / 415.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2822, allocations: 9.156 kB / 415.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.2825, allocations: 136.7 kB / 415.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.2839, allocations: 0.6483 MB / 416.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.2839, allocations: 77 kB / 416.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.2841, allocations: 106.2 kB / 416.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.286, allocations: 1.002 MB / 417.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.2861, allocations: 13.17 kB / 417.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/0.2862, allocations: 40.7 kB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.2862, allocations: 22.81 kB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.2882, allocations: 0.8865 MB / 418.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/0.294, allocations: 3.534 MB / 421.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.2968, allocations: 0.8534 MB / 422.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.2976, allocations: 350.1 kB / 423 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.2977, allocations: 15.58 kB / 423.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.2977, allocations: 37.38 kB / 423.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 1.954e-06/0.2977, allocations: 1.594 kB / 423.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.004943/0.3026, allocations: 1.819 MB / 424.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.3027, allocations: 87.33 kB / 425 MB, free: 7.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.3041, allocations: 0.9817 MB / 426 MB, free: 6.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.3041, allocations: 33.7 kB / 426 MB, free: 6.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/0.3047, allocations: 0.5389 MB / 426.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.3049, allocations: 242 kB / 426.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.3052, allocations: 158.6 kB / 426.9 MB, free: 5.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3053, allocations: 337.9 kB / 427.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009184/0.3062, allocations: 345.8 kB / 427.6 MB, free: 4.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.3073, allocations: 0.5106 MB / 428.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.3091, allocations: 0.8397 MB / 429 MB, free: 3.492 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3091, allocations: 4 kB / 429 MB, free: 3.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002431/0.3116, allocations: 1.016 MB / 430 MB, free: 2.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.3116, allocations: 11.94 kB / 430 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3116, allocations: 7.938 kB / 430 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/0.3117, allocations: 12 kB / 430 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.3129, allocations: 279.6 kB / 430.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.3129, allocations: 19.92 kB / 430.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/0.3138, allocations: 59.94 kB / 430.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.3139, allocations: 43.98 kB / 430.4 MB, free: 2.039 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.0004728/0.3143, allocations: 281.6 kB / 430.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.3145, allocations: 107.3 kB / 430.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.3155, allocations: 390.2 kB / 431.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.3155, allocations: 8 kB / 431.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.3156, allocations: 0 / 431.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3156, allocations: 0 / 431.2 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004411/0.32, allocations: 2.259 MB / 433.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.32, allocations: 8 kB / 433.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/0.3209, allocations: 207.7 kB / 433.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.3209, allocations: 15.94 kB / 433.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.3209, allocations: 23.98 kB / 433.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.3209, allocations: 8 kB / 433.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.321, allocations: 15.88 kB / 433.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3228, allocations: 1.037 MB / 434.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.3231, allocations: 119.3 kB / 434.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3233, allocations: 20 kB / 434.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.3239, allocations: 43.95 kB / 434.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.324, allocations: 75.72 kB / 435 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.3241, allocations: 31.92 kB / 435 MB, free: 13.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.3251, allocations: 0.6786 MB / 435.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3251, allocations: 0 / 435.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009156/0.326, allocations: 204 kB / 435.9 MB, free: 12.28 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.0014/0.3274, allocations: 376.8 kB / 436.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.3294, allocations: 0.7339 MB / 437 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3295, allocations: 0 / 437 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008782/0.3303, allocations: 365.7 kB / 437.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.3317, allocations: 212.1 kB / 437.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.3357, allocations: 1.966 MB / 439.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.3365, allocations: 1.014 MB / 440.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.3368, allocations: 83.41 kB / 440.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3368, allocations: 0 / 440.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of Templates: time 0.02075/0.3576, allocations: 13.08 MB / 453.7 MB, free: 10.29 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 [Calling sys.exit(0), Time elapsed: 8.585584548069164]